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

Issue 2603303003: Add fuzzer for (A)PNG decoder (Closed)

Created:
3 years, 11 months ago by scroggo_chromium
Modified:
3 years, 11 months ago
Reviewers:
mmoroz, Noel Gordon
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, fuzzing_chromium.org, darktears, blink-reviews, kinuko+watch, Eric Willigers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add fuzzer for (A)PNG decoder Implement a fuzzer for the PNG decoder. It uses three animated png images created by joostouwerling@google.com and three existing static PNG images in WebKits LayoutTest resources as a seed corpus. It works for both the current PNGImageDecoder, which only supports decoding static PNGs, and the new PNGImageDecoder which also supports decoding animated PNGs. This is achieved by having both static and animated PNG images in the seed corpus. BUG=437662 Review-Url: https://codereview.chromium.org/2603303003 Cr-Commit-Position: refs/heads/master@{#441661} Committed: https://chromium.googlesource.com/chromium/src/+/1cc893851ef9ad007f4fb1eaabf58870fc634e81

Patch Set 1 : patch from issue 2578263002 at patchset 20001 (http://crrev.com/2578263002#ps20001) #

Patch Set 2 : Respond to comments in original issue #

Total comments: 3

Patch Set 3 : Fix typo #

Messages

Total messages: 14 (7 generated)
scroggo_chromium
This addresses the comments in patch set 1 of crrev.com/2578263002. Patch set 1 of this ...
3 years, 11 months ago (2017-01-03 18:25:54 UTC) #4
Noel Gordon
LGTM - thanks Leon & Joost(?)
3 years, 11 months ago (2017-01-04 00:01:46 UTC) #5
mmoroz
Thanks! LGTM https://codereview.chromium.org/2603303003/diff/20001/third_party/WebKit/Source/platform/BUILD.gn File third_party/WebKit/Source/platform/BUILD.gn (right): https://codereview.chromium.org/2603303003/diff/20001/third_party/WebKit/Source/platform/BUILD.gn#newcode2033 third_party/WebKit/Source/platform/BUILD.gn:2033: seed_corpus = "//third_party/WebKit/LayoutTests/images/resources/pngfuzz" I like your idea ...
3 years, 11 months ago (2017-01-04 08:37:54 UTC) #6
mmoroz
On 2017/01/04 08:37:54, mmoroz wrote: > Thanks! LGTM > > https://codereview.chromium.org/2603303003/diff/20001/third_party/WebKit/Source/platform/BUILD.gn > File third_party/WebKit/Source/platform/BUILD.gn (right): ...
3 years, 11 months ago (2017-01-05 10:10:13 UTC) #7
scroggo_chromium
https://codereview.chromium.org/2603303003/diff/20001/third_party/WebKit/Source/platform/PngFuzzer.cpp File third_party/WebKit/Source/platform/PngFuzzer.cpp (right): https://codereview.chromium.org/2603303003/diff/20001/third_party/WebKit/Source/platform/PngFuzzer.cpp#newcode23 third_party/WebKit/Source/platform/PngFuzzer.cpp:23: // `~/another_dir_to_store_corpus On 2017/01/04 08:37:54, mmoroz wrote: > Looks ...
3 years, 11 months ago (2017-01-05 14:26:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603303003/40001
3 years, 11 months ago (2017-01-05 14:26:27 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 15:52:47 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1cc893851ef9ad007f4fb1eaabf5...

Powered by Google App Engine
This is Rietveld 408576698