]> granicus.if.org Git - libjpeg-turbo/commit
Ensure that default Huffman tables are initialized
authorDRC <information@libjpeg-turbo.org>
Sun, 6 Mar 2016 14:15:04 +0000 (08:15 -0600)
committerDRC <information@libjpeg-turbo.org>
Sun, 6 Mar 2016 14:29:44 +0000 (08:29 -0600)
commita572622dd654305c86585724c2a1ea34e22c2103
treeaffe5360cf8b5edd35705437b04a05fa67ffd4bb
parentf57bae0dddcdd5b30f9ce97b45436a585159af7a
Ensure that default Huffman tables are initialized

This prevents a malformed motion-JPEG frame (MJPEG frames lack Huffman
tables) from causing the "fast path" of the Huffman decoder to read
uninitialized memory.  Essentially, this is doing the same thing for
MJPEG frames as 43d8cf4d4572fa50a37cccadbe71b9bee37de55d did for regular
images.
ChangeLog.txt
jstdhuff.c