summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authorTobias Junghans <tobydox@veyon.io>2018-11-06 10:23:19 +0100
committerTobias Junghans <tobydox@veyon.io>2018-11-06 10:23:19 +0100
commit343eaabd7c910676a9985f1585e2cd4adebaaaa7 (patch)
treec90529d79c013c249e2e904fa381eea4562bd055 /libvncclient
parent192823dad9364cf7216ce8529cc4d81c2c5c3094 (diff)
downloadlibtdevnc-343eaabd7c910676a9985f1585e2cd4adebaaaa7.tar.gz
libtdevnc-343eaabd7c910676a9985f1585e2cd4adebaaaa7.zip
LibVNCClient: init pad field for set encodings msg
Diffstat (limited to 'libvncclient')
-rw-r--r--libvncclient/rfbproto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index ac2a983..26c4e7a 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -1253,6 +1253,7 @@ SetFormatAndEncodings(rfbClient* client)
if (!SupportsClient2Server(client, rfbSetEncodings)) return TRUE;
se->type = rfbSetEncodings;
+ se->pad = 0;
se->nEncodings = 0;
if (client->appData.encodingsString) {