[libpng16] Bump version to 1.6.33beta01

This commit is contained in:
Glenn Randers-Pehrson
2017-08-28 11:29:33 -05:00
parent 14a8996fe6
commit 321c24b0d7
15 changed files with 37 additions and 31 deletions

View File

@@ -23,10 +23,14 @@ The files are
Original
Filename or derived Copyright License
========================= ========== ================ ==========
build.sh derived 2017, Glenn R-P Apache 2.0
build.sh* derived 2017, Glenn R-P Apache 2.0
libpng_read_fuzzer.cc derived 2017, Glenn R-P Chromium
libpng_read_fuzzer.options original 2015, Chrome Devs Chromium
png.dict original 2015, Chrome Devs Chromium
README.txt (this file) original 2017, GLenn R-P libpng
README.txt (this file) original 2017, Glenn R-P libpng
To do: exercise the progressive reader.
* build.sh is a copy of the file used by oss-fuzz. png.dict and
libpng_read_fuzzer.* are the actual files used by oss-fuzz, which
retrieves them from the libpng repository at Github.
To do: exercise the progressive reader and the png encoder.

View File

@@ -38,13 +38,13 @@ make -j$(nproc) libpng16.la
# build libpng_read_fuzzer.
$CXX $CXXFLAGS -std=c++11 -I. \
$SRC/libpng/contrib/oss-fuzz/libpng_read_fuzzer.cc -o \
$OUT/libpng_read_fuzzer \
$SRC/libpng/contrib/oss-fuzz/libpng_read_fuzzer.cc \
-o $OUT/libpng_read_fuzzer \
-lFuzzingEngine .libs/libpng16.a -lz
# add seed corpus.
find $SRC/libpng/contrib/pngsuite -name "*.png" | \
xargs zip $OUT/libpng_read_fuzzer_seed_corpus.zip
find $SRC/libpng -name "*.png" | \
xargs zip $OUT/libpng_read_fuzzer_seed_corpus.zip
cp $SRC/libpng/contrib/oss-fuzz*.dict \
$SRC/libpng/contrib/oss-fuzz/*.options $OUT/
cp $SRC/libpng/contrib/oss-fuzz/*.dict \
$SRC/libpng/contrib/oss-fuzz/*.options $OUT/