diff options
author | noel@chromium.org <noel@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2013-10-13 15:23:17 +0000 |
---|---|---|
committer | noel@chromium.org <noel@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2013-10-13 15:23:17 +0000 |
commit | 32cab49bd4cb1ce069a435fd75f9439c34ddc6f8 (patch) | |
tree | 4cc3c8e34028fb59e6c94c09492c68456338f261 /jdmarker.c | |
parent | 2285c50bcd51dd999d80b99b30ce9aef9fb80833 (diff) |
Zero unused DHT huffman values at creation time
TBR=darin@chromium.org
BUG=299835
Review URL: https://codereview.chromium.org/27120002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@228394 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Diffstat (limited to 'jdmarker.c')
-rw-r--r-- | jdmarker.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -470,6 +470,7 @@ 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 */ |