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, Nov 5, 3:51 AM
Unknown Object (File)
Fri, Oct 31, 2:44 AM
Unknown Object (File)
Thu, Oct 23, 11:43 PM
Unknown Object (File)
Oct 22 2025, 4:26 AM
Unknown Object (File)
Oct 22 2025, 2:02 AM
Unknown Object (File)
Oct 22 2025, 2:02 AM
Unknown Object (File)
Oct 22 2025, 2:02 AM
Unknown Object (File)
Oct 21 2025, 2:27 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