Page MenuHomeFreeBSD

bhyve: avoid an empty passthru config value
ClosedPublic

Authored by corvink on Mar 18 2022, 9:28 AM.
Tags
Referenced Files
F108153508: D34600.diff
Tue, Jan 21, 10:48 PM
Unknown Object (File)
Wed, Jan 1, 8:09 AM
Unknown Object (File)
Dec 2 2024, 3:03 PM
Unknown Object (File)
Nov 14 2024, 12:43 AM
Unknown Object (File)
Nov 9 2024, 8:56 AM
Unknown Object (File)
Nov 7 2024, 7:39 PM
Unknown Object (File)
Oct 19 2024, 4:21 AM
Unknown Object (File)
Oct 9 2024, 1:49 AM
Subscribers

Details

Summary

pci_parse_legacy_config splits the options string by comma characters.
strchr returns a pointer to the first occurence of a character. In that
case, it's a comma. So, pci_parse_legacy_config will stop at the first
character and creates a new config node with a name of NULL.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable