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)
Thu, Nov 27, 4:28 PM
Unknown Object (File)
Nov 5 2025, 3:51 AM
Unknown Object (File)
Oct 31 2025, 2:44 AM
Unknown Object (File)
Oct 23 2025, 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
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