Page MenuHomeFreeBSD

bhyve: avoid an empty passthru config value
ClosedPublic

Authored by corvink on Mar 18 2022, 9:28 AM.
Tags
Referenced Files
F166327865: D34600.id103983.diff
Wed, Aug 12, 10:46 PM
F166324858: D34600.id.diff
Wed, Aug 12, 10:19 PM
F166277093: D34600.diff
Wed, Aug 12, 4:11 PM
Unknown Object (File)
Mon, Aug 10, 10:15 AM
Unknown Object (File)
Mon, Aug 10, 9:36 AM
Unknown Object (File)
Sat, Aug 8, 4:23 AM
Unknown Object (File)
Sat, Aug 8, 12:31 AM
Unknown Object (File)
Sat, Jul 25, 3:37 PM
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