diff --git a/client/spice/spice.c b/client/spice/spice.c index 3adb7f4c..6dd0ebc8 100644 --- a/client/spice/spice.c +++ b/client/spice/spice.c @@ -651,6 +651,8 @@ bool spice_connect_channel(struct SpiceChannel * channel) channel->connected = true; uint32_t supportCaps[COMMON_CAPS_BYTES / sizeof(uint32_t)]; + memset(supportCaps, 0, sizeof(supportCaps)); + COMMON_SET_CAPABILITY(supportCaps, SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION); COMMON_SET_CAPABILITY(supportCaps, SPICE_COMMON_CAP_AUTH_SPICE ); COMMON_SET_CAPABILITY(supportCaps, SPICE_COMMON_CAP_MINI_HEADER );