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)
Mon, Jan 27, 4:58 PM
Unknown Object (File)
Fri, Jan 24, 2:31 AM
Unknown Object (File)
Tue, Jan 21, 10:48 PM
Unknown Object (File)
Jan 1 2025, 8:09 AM
Unknown Object (File)
Dec 2 2024, 3:03 PM
Unknown Object (File)
Nov 14 2024, 12:43 AM
Unknown Object (File)
Nov 9 2024, 8:56 AM
Unknown Object (File)
Nov 7 2024, 7:39 PM
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