commit | 2812f03d54b7fa4fd3d724505155d44a5343d91b | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Mon Jul 18 15:56:08 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jul 18 15:56:08 2016 -0700 |
tree | f553430516fc9bcfe4e7f52aff5255ab113fe889 | |
parent | 401ae2d2a0c3f60129e689b922a070e7c367959c [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 Committed: https://skia.googlesource.com/skia/+/4ecb8ab556214c9337f56bc36d50e4d7c655ac7a Review-Url: https://codereview.chromium.org/2161593003