From 8acf574b28b5bde6f74ff81aa3c180c21cd24a38 Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Fri, 3 Nov 2017 12:33:00 +0100 Subject: [PATCH] Fix compression regression introduced in commit 0c7b411 When adding support for multi fragments, we started to read and use length from fast path packet. However a packet can be compressed and uncompressed length should be used instead. Fix issue #185 --- rdp5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rdp5.c b/rdp5.c index 3912e38..32a4a36 100644 --- a/rdp5.c +++ b/rdp5.c @@ -119,6 +119,7 @@ process_ts_fp_updates(STREAM s) ns->p = ns->data; ns->rdp_hdr = ns->p; + length = rlen; ts = ns; } else