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)
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
Unknown Object (File)
Dec 20 2023, 7:02 AM
Unknown Object (File)
Dec 13 2023, 3:06 AM
Unknown Object (File)
Dec 12 2023, 12:36 PM
Unknown Object (File)
Sep 15 2023, 1:53 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 Not Applicable
Unit
Tests Not Applicable