commit | 4ecb8ab556214c9337f56bc36d50e4d7c655ac7a | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Mon Jul 18 10:28:41 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jul 18 10:28:41 2016 -0700 |
tree | a011db2c6148586230915564e9f2ae4435d6d8f5 | |
parent | 0b300498b17b100db2678030f516f205d71d15e1 [diff] |
Fix rewinding bug in SkJpegCodec Performing a sampled and/or subset decode will create some state in SkJpegCodec. If we fail to clean up this state properly, subsequent decodes may try to reuse (and potentailly overflow) the leftover memory. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2161593003 Review-Url: https://codereview.chromium.org/2161593003