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, Feb 7, 10:06 PM
Unknown Object (File)
Sat, Feb 7, 6:16 PM
Unknown Object (File)
Sat, Jan 31, 2:36 AM
Unknown Object (File)
Mon, Jan 19, 12:18 AM
Unknown Object (File)
Dec 28 2025, 11:43 AM
Unknown Object (File)
Dec 25 2025, 12:16 AM
Unknown Object (File)
Nov 27 2025, 4:28 PM
Unknown Object (File)
Nov 5 2025, 3:51 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