summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Andersson <hean01@cendio.com>2017-11-03 12:33:00 +0100
committerHenrik Andersson <hean01@cendio.com>2017-11-03 12:33:00 +0100
commit8acf574b28b5bde6f74ff81aa3c180c21cd24a38 (patch)
treea4eba4069a04b4a5729eef9dcadf74236e6f0461
parent50100f85e6ac81addbf28e9bfe0af7d1b97921ec (diff)
downloadrdesktop-8acf574b28b5bde6f74ff81aa3c180c21cd24a38.zip
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
-rw-r--r--rdp5.c1
1 files changed, 1 insertions, 0 deletions
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