HomeFreeBSD

bhyve: Make sure that the VNC version is initialized

Description

bhyve: Make sure that the VNC version is initialized

clang warned that "client_ver" can be left uninitialized. This change
causes the new connection to be dropped if a version string is not
presented.

Reviewed by: jhb

(cherry picked from commit 04336c0562488080300e68157ada5bc8eae71e54)

Details

Provenance
markjAuthored on Oct 27 2022, 2:46 PM
Parents
rGb1bc16002edd: bhyve: Fix an apparent pointer arithmetic bug in the xhci emulation
Branches
Unknown
Tags
Unknown