commit | aca73722873e908633ff27375f6f93a08cbb7dd3 | [log] [tgz] |
---|---|---|
author | Matt Sarett <msarett@google.com> | Thu Jul 21 09:19:47 2016 -0400 |
committer | gitbuildkicker <android-build@google.com> | Mon Sep 26 23:21:55 2016 -0700 |
tree | ef5c050e75481fd2ce8be549961651094859886b | |
parent | 3906c7fd66aa70385d73a0dba51944bd3db74e93 [diff] |
Fix rewinding bug in SkJpegCodec (cherry picked from Skia) 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. Committed: https://skia.googlesource.com/skia/+/2812f03d54b7fa4fd3d724505155d44a5343d91b BUG:30190637 BUG:30081412 Change-Id: I3fc2220c1cf5b6e2bc68e87e19cf54576e2b7a74 (cherry picked from commit 63a53c1e4b347775d4a36c0826fcd249d0b98f20) (cherry picked from commit 52d00b3be74144019413d7aac734e012c00c87c5)