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)
Sun, Mar 8, 9:37 PM
Unknown Object (File)
Sat, Mar 7, 9:25 PM
Unknown Object (File)
Mon, Feb 23, 7:28 PM
Unknown Object (File)
Sun, Feb 22, 6:46 PM
Unknown Object (File)
Feb 7 2026, 10:06 PM
Unknown Object (File)
Feb 7 2026, 6:16 PM
Unknown Object (File)
Jan 31 2026, 2:36 AM
Unknown Object (File)
Jan 19 2026, 12:18 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