diff options
author | Tobias Junghans <[email protected]> | 2018-11-06 10:23:19 +0100 |
---|---|---|
committer | Tobias Junghans <[email protected]> | 2018-11-06 10:23:19 +0100 |
commit | 343eaabd7c910676a9985f1585e2cd4adebaaaa7 (patch) | |
tree | c90529d79c013c249e2e904fa381eea4562bd055 | |
parent | 192823dad9364cf7216ce8529cc4d81c2c5c3094 (diff) | |
download | libtdevnc-343eaabd7c910676a9985f1585e2cd4adebaaaa7.tar.gz libtdevnc-343eaabd7c910676a9985f1585e2cd4adebaaaa7.zip |
LibVNCClient: init pad field for set encodings msg
-rw-r--r-- | libvncclient/rfbproto.c | 1 |
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) { |