Blame SOURCES/libjpeg-turbo12-CVE-2013-6630.patch

d49eda
diff --git a/jdmarker.c b/jdmarker.c
d49eda
index 77f7274..737a17c 100644
d49eda
--- a/jdmarker.c
d49eda
+++ b/jdmarker.c
d49eda
@@ -465,6 +465,7 @@ get_dht (j_decompress_ptr cinfo)
d49eda
     for (i = 0; i < count; i++)
d49eda
       INPUT_BYTE(cinfo, huffval[i], return FALSE);
d49eda
 
d49eda
+    MEMZERO(&huffval[count], (256 - count) * SIZEOF(UINT8));
d49eda
     length -= count;
d49eda
 
d49eda
     if (index & 0x10) {		/* AC table definition */