summaryrefslogtreecommitdiffstats
path: root/libvncserver/ws_decode.h
diff options
context:
space:
mode:
authorAndreas Weigel <andreaswe@securepoint.de>2017-02-27 09:00:19 +0100
committerChristian Beier <dontmind@freeshell.org>2017-05-14 20:39:05 +0200
commitef8d2852f546135c94282a4d634fe4ac9e7558a4 (patch)
treee640e3e39cd3debc02602dab140cc0f6590c0afb /libvncserver/ws_decode.h
parent5d9d6a87124a5439d3432c37a67f9b2babe04407 (diff)
downloadlibtdevnc-ef8d2852f546135c94282a4d634fe4ac9e7558a4.tar.gz
libtdevnc-ef8d2852f546135c94282a4d634fe4ac9e7558a4.zip
remove potential 64 bit len overflow calculation
Diffstat (limited to 'libvncserver/ws_decode.h')
-rw-r--r--libvncserver/ws_decode.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvncserver/ws_decode.h b/libvncserver/ws_decode.h
index 07d37bd..2923e3d 100644
--- a/libvncserver/ws_decode.h
+++ b/libvncserver/ws_decode.h
@@ -124,8 +124,7 @@ typedef struct ws_ctx_s {
int carrylen;
int base64;
ws_header_data_t header;
- uint64_t nReadRaw;
- uint64_t nToRead;
+ uint64_t nReadPayload;
unsigned char continuation_opcode;
wsEncodeFunc encode;
wsDecodeFunc decode;