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

Side by Side Diff: third_party/afl/src/experimental/libpng_no_checksum/libpng-nocrc.patch

Issue 2075883002: Add American Fuzzy Lop (afl) to third_party/afl/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 --- pngrutil.c.orig 2014-06-12 03:35:16.000000000 +0200
2 +++ pngrutil.c 2014-07-01 05:08:31.000000000 +0200
3 @@ -268,7 +268,11 @@
4 if (need_crc != 0)
5 {
6 crc = png_get_uint_32(crc_bytes);
7 - return ((int)(crc != png_ptr->crc));
8 +
9 + if (crc != png_ptr->crc)
10 + fprintf(stderr, "NOTE: CRC in the file is 0x%08x, change to 0x%08x\n", crc, png_ptr->crc);
11 +
12 + return ((int)(1 != 1));
13 }
14
15 else
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698