From f75b9143e2ea5cf487eb76e42f58f816c88e688a Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Tue, 10 Sep 2013 16:18:21 -0700 Subject: VUL: make sure cache entries are in range --- common/xrdp_constants.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/xrdp_constants.h') diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h index b978d2de..a163df07 100644 --- a/common/xrdp_constants.h +++ b/common/xrdp_constants.h @@ -559,4 +559,7 @@ #define CMDTYPE_FRAME_MARKER 0x0004 #define CMDTYPE_STREAM_SURFACE_BITS 0x0006 +#define XRDP_MAX_BITMAP_CACHE_ID 3 +#define XRDP_MAX_BITMAP_CACHE_IDX 2000 + #endif -- cgit v1.2.3