summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-09-10 16:18:21 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-09-10 16:18:21 -0700
commitf75b9143e2ea5cf487eb76e42f58f816c88e688a (patch)
treee247dfd58c6b17a9c56a92994fcba7d463ab88c2 /common
parent06d92b787ad12b693ee174ce8885636c5511b31c (diff)
downloadxrdp-proprietary-f75b9143e2ea5cf487eb76e42f58f816c88e688a.tar.gz
xrdp-proprietary-f75b9143e2ea5cf487eb76e42f58f816c88e688a.zip
VUL: make sure cache entries are in range
Diffstat (limited to 'common')
-rw-r--r--common/xrdp_constants.h3
1 files changed, 3 insertions, 0 deletions
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