Page MenuHomeFreeBSD

bhyve: avoid an empty passthru config value
ClosedPublic

Authored by corvink on Mar 18 2022, 9:28 AM.
Tags
Referenced Files
Unknown Object (File)
Wed, Apr 29, 1:30 PM
Unknown Object (File)
Wed, Apr 29, 12:40 AM
Unknown Object (File)
Mon, Apr 27, 3:43 AM
Unknown Object (File)
Tue, Apr 21, 6:44 PM
Unknown Object (File)
Mon, Apr 20, 11:16 PM
Unknown Object (File)
Apr 6 2026, 3:28 AM
Unknown Object (File)
Mar 22 2026, 8:54 AM
Unknown Object (File)
Mar 8 2026, 9: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