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, Apr 24, 7:00 PM
Unknown Object (File)
Wed, Apr 23, 4:34 PM
Unknown Object (File)
Tue, Apr 22, 5:06 PM
Unknown Object (File)
Sun, Apr 20, 5:03 AM
Unknown Object (File)
Sat, Apr 19, 2:47 PM
Unknown Object (File)
Sat, Apr 19, 9:22 AM
Unknown Object (File)
Sat, Apr 19, 9:14 AM
Unknown Object (File)
Sat, Apr 19, 3:55 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 Skipped
Unit
Tests Skipped