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

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

Created:
4 years ago by joostouwerling
Modified:
3 years, 11 months ago
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, fuzzing_chromium.org, darktears, blink-reviews, 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 which I created myself, 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

Patch Set 1 #

Patch Set 2 : Target fuzz towards static PNG and animated PNG #

Total comments: 20

Messages

Total messages: 16 (10 generated)
joostouwerling
Adding noel@ for review.
4 years ago (2016-12-16 19:55:56 UTC) #9
Noel Gordon
Thanks for working on this. Some minor matters: https://codereview.chromium.org/2578263002/diff/20001/third_party/WebKit/Source/platform/PngFuzzer.cpp File third_party/WebKit/Source/platform/PngFuzzer.cpp (right): https://codereview.chromium.org/2578263002/diff/20001/third_party/WebKit/Source/platform/PngFuzzer.cpp#newcode4 third_party/WebKit/Source/platform/PngFuzzer.cpp:4: location: ...
3 years, 11 months ago (2017-01-03 04:12:39 UTC) #11
mmoroz
Left some suggestions / comments, LGTM from fuzzing side :) https://codereview.chromium.org/2578263002/diff/20001/third_party/WebKit/Source/platform/BUILD.gn File third_party/WebKit/Source/platform/BUILD.gn (right): https://codereview.chromium.org/2578263002/diff/20001/third_party/WebKit/Source/platform/BUILD.gn#newcode2021 ...
3 years, 11 months ago (2017-01-03 08:18:36 UTC) #13
scroggo_chromium
Joost's internship has ended, so I am picking up where he left off. I've uploaded ...
3 years, 11 months ago (2017-01-03 18:24:15 UTC) #14
Noel Gordon
https://codereview.chromium.org/2578263002/diff/20001/third_party/WebKit/Source/platform/PngFuzzer.cpp File third_party/WebKit/Source/platform/PngFuzzer.cpp (right): https://codereview.chromium.org/2578263002/diff/20001/third_party/WebKit/Source/platform/PngFuzzer.cpp#newcode4 third_party/WebKit/Source/platform/PngFuzzer.cpp:4: On 2017/01/03 18:24:15, scroggo_chromium wrote: > On 2017/01/03 04:12:39, ...
3 years, 11 months ago (2017-01-03 23:57:16 UTC) #15
Noel Gordon
3 years, 11 months ago (2017-01-03 23:59:02 UTC) #16
On 2017/01/03 18:24:15, scroggo_chromium wrote:
> Joost's internship has ended, so I am picking up where he left off. I've
> uploaded a new issue at https://codereview.chromium.org/2603303003/.

Right, thanks for picking it up.  Over to the new patch ...

Powered by Google App Engine
This is Rietveld 408576698