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)
Tue, Jul 2, 4:14 PM
Unknown Object (File)
Mon, Jul 1, 3:25 PM
Unknown Object (File)
Sat, Jun 29, 12:36 PM
Unknown Object (File)
Fri, Jun 28, 5:54 PM
Unknown Object (File)
May 19 2024, 9:51 AM
Unknown Object (File)
Mar 19 2024, 9:54 PM
Unknown Object (File)
Mar 19 2024, 2:23 PM
Unknown Object (File)
Feb 14 2024, 9:42 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