From 343eaabd7c910676a9985f1585e2cd4adebaaaa7 Mon Sep 17 00:00:00 2001 From: Tobias Junghans Date: Tue, 6 Nov 2018 10:23:19 +0100 Subject: LibVNCClient: init pad field for set encodings msg --- libvncclient/rfbproto.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libvncclient') 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) { -- cgit v1.2.1