Merge pull request #5390 from abagarwams/portCVE2018-8786

Porting patch for CVE2018-8786 to 1.1 branch
This commit is contained in:
Bernhard Miklautz 2019-05-09 11:10:02 +02:00 committed by GitHub
commit 4f2a7bd7d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ BOOL update_read_bitmap(rdpUpdate* update, wStream* s, BITMAP_UPDATE* bitmap_upd
if (bitmap_update->number > bitmap_update->count)
{
UINT16 count;
UINT32 count;
count = bitmap_update->number * 2;