Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Issue 951663002: Fix a memory leak when decoding corrupted indexed PNGs. (Closed)

Created:
5 years, 10 months ago by David Lattimore
Modified:
5 years, 9 months ago
Reviewers:
scroggo
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix a memory leak when decoding corrupted indexed PNGs. Commit to branch refs/heads/png-leak BUG=skia:3457 Committed: https://skia.googlesource.com/skia/+/561a1ca9559a1ea7589ab93350124284fcef3315 Committed: https://skia.googlesource.com/skia/+/f45796ee0eb46c2d08a6d1547622043892c525eb

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed copyright year and renamed global in test. #

Patch Set 3 : Disable test on platforms that don't use libpng #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
M gyp/tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/images/SkImageDecoder_libpng.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
A tests/InvalidIndexedPngTest.cpp View 1 2 1 chunk +46 lines, -0 lines 1 comment Download

Messages

Total messages: 18 (4 generated)
scroggo
LGTM Thanks for uploading the patch, and sorry for the delay! Reason for the delay: ...
5 years, 9 months ago (2015-03-05 22:56:48 UTC) #2
David Lattimore
Sorry about now clicking publish+mail - I see that is mentioned in the instructions. Guess ...
5 years, 9 months ago (2015-03-05 23:21:06 UTC) #3
scroggo
On 2015/03/05 23:21:06, David Lattimore wrote: > Sorry about now clicking publish+mail - I see ...
5 years, 9 months ago (2015-03-05 23:26:10 UTC) #4
David Lattimore
After syncing, the test was failing. It seems that indexed PNGs with a size-0 palette ...
5 years, 9 months ago (2015-03-06 00:12:50 UTC) #5
David Lattimore
Sorry, that comment was on the wrong CL. Please disregard.
5 years, 9 months ago (2015-03-06 00:13:57 UTC) #6
scroggo
On 2015/03/06 00:13:57, David Lattimore wrote: > Sorry, that comment was on the wrong CL. ...
5 years, 9 months ago (2015-03-06 19:48:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/951663002/20001
5 years, 9 months ago (2015-03-06 19:49:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/951663002/20001
5 years, 9 months ago (2015-03-06 19:49:41 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/561a1ca9559a1ea7589ab93350124284fcef3315
5 years, 9 months ago (2015-03-07 00:25:31 UTC) #12
reed2
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/980203005/ by reed@chromium.org. ...
5 years, 9 months ago (2015-03-07 14:05:11 UTC) #13
David Lattimore
Sorry about the breakage. Does commit-bot only runs the tests on Linux before submitting? It ...
5 years, 9 months ago (2015-03-09 01:44:27 UTC) #14
scroggo
lgtm On 2015/03/09 01:44:27, David Lattimore wrote: > Sorry about the breakage. Does commit-bot only ...
5 years, 9 months ago (2015-03-11 13:29:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/951663002/40001
5 years, 9 months ago (2015-03-11 13:29:22 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 18:12:58 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/f45796ee0eb46c2d08a6d1547622043892c525eb

Powered by Google App Engine
This is Rietveld 408576698