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)
Sat, Nov 9, 8:56 AM
Unknown Object (File)
Thu, Nov 7, 7:39 PM
Unknown Object (File)
Sat, Oct 19, 4:21 AM
Unknown Object (File)
Oct 9 2024, 1:49 AM
Unknown Object (File)
Oct 6 2024, 1:49 PM
Unknown Object (File)
Oct 3 2024, 12:17 PM
Unknown Object (File)
Oct 3 2024, 11:36 AM
Unknown Object (File)
Oct 3 2024, 10:38 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