diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-09-10 16:18:21 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-09-10 16:18:21 -0700 |
commit | f75b9143e2ea5cf487eb76e42f58f816c88e688a (patch) | |
tree | e247dfd58c6b17a9c56a92994fcba7d463ab88c2 /xrdp/xrdp_types.h | |
parent | 06d92b787ad12b693ee174ce8885636c5511b31c (diff) | |
download | xrdp-proprietary-f75b9143e2ea5cf487eb76e42f58f816c88e688a.tar.gz xrdp-proprietary-f75b9143e2ea5cf487eb76e42f58f816c88e688a.zip |
VUL: make sure cache entries are in range
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r-- | xrdp/xrdp_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h index e7bb7baf..5a43d9a9 100644 --- a/xrdp/xrdp_types.h +++ b/xrdp/xrdp_types.h @@ -195,7 +195,8 @@ struct xrdp_cache struct xrdp_palette_item palette_items[6]; /* bitmap */ int bitmap_stamp; - struct xrdp_bitmap_item bitmap_items[3][2000]; + struct xrdp_bitmap_item bitmap_items[XRDP_MAX_BITMAP_CACHE_ID] + [XRDP_MAX_BITMAP_CACHE_IDX]; int use_bitmap_comp; int cache1_entries; int cache1_size; |