From 836e008853c78ae5ec8932db1a6359829a1235db Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 11 Apr 2019 16:30:09 +0200 Subject: [PATCH] Fix fast path stream array There are 16 possible codes, not 15. (even if we currently don't know what to do with the last code) --- rdp5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdp5.c b/rdp5.c index 3f41282..c5ef13b 100644 --- a/rdp5.c +++ b/rdp5.c @@ -85,7 +85,7 @@ process_ts_fp_updates(STREAM s) struct stream *ns = &(g_mppc_dict.ns); struct stream *ts; - static STREAM assembled[0x0F] = { 0 }; + static STREAM assembled[16] = { 0 }; ui_begin_update(); while (s->p < s->end)