mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] spice: fix unitialized value
This commit is contained in:
parent
3df4bb3a54
commit
ec0db86663
@ -651,6 +651,8 @@ bool spice_connect_channel(struct SpiceChannel * channel)
|
|||||||
channel->connected = true;
|
channel->connected = true;
|
||||||
|
|
||||||
uint32_t supportCaps[COMMON_CAPS_BYTES / sizeof(uint32_t)];
|
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_PROTOCOL_AUTH_SELECTION);
|
||||||
COMMON_SET_CAPABILITY(supportCaps, SPICE_COMMON_CAP_AUTH_SPICE );
|
COMMON_SET_CAPABILITY(supportCaps, SPICE_COMMON_CAP_AUTH_SPICE );
|
||||||
COMMON_SET_CAPABILITY(supportCaps, SPICE_COMMON_CAP_MINI_HEADER );
|
COMMON_SET_CAPABILITY(supportCaps, SPICE_COMMON_CAP_MINI_HEADER );
|
||||||
|
Loading…
Reference in New Issue
Block a user