mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-30 11:03:38 +00:00
[client] spice: fix unitialized value
This commit is contained in:
parent
3df4bb3a54
commit
ec0db86663
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue