commit | fba21ad526e6a4b99324ef1769c010b6edb5baf8 | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Sun Mar 06 08:15:04 2016 -0600 |
committer | Matt Sarett <msarett@google.com> | Thu Mar 17 16:31:07 2016 +0000 |
tree | 164de5cd1778c11aa01ab16cfa96c05da135945c | |
parent | 0ef076fb7b326dc201b4ab3bd30fefd4e35ad1c4 [diff] |
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. Cherry picked from upstream: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/a572622dd654305c86585724c2a1ea34e22c2103 BUG:27494207 BUG:27480923 Change-Id: I91f334b82290b009bc624b3d5f8a9b3021f34ea0