mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 891693 - Make sure that huffval gets zeroed before use. r=DRC
This commit is contained in:
parent
cba03f3ca4
commit
14ff598f3c
@ -472,6 +472,8 @@ get_dht (j_decompress_ptr cinfo)
|
||||
for (i = 0; i < count; i++)
|
||||
INPUT_BYTE(cinfo, huffval[i], return FALSE);
|
||||
|
||||
MEMZERO(&huffval[count], (256-count)*SIZEOF(UINT8));
|
||||
|
||||
length -= count;
|
||||
|
||||
if (index & 0x10) { /* AC table definition */
|
||||
|
Loading…
Reference in New Issue
Block a user