[pillow] Fix pillow corpus file name (#4903)

* Fix Pillow corpus file name

* Install extra test images for a better starting corpus

This includes images that are either:
* large
* unclear license, so unable to distribute
* cause antivirus hits
This commit is contained in:
wiredfool 2021-01-02 17:58:32 +00:00 committed by GitHub
parent 14452cfb3d
commit a49b7f7e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -48,9 +48,10 @@ RUN apt-get install -y \
tk8.6-dev \
zlib1g-dev
RUN git clone --depth 1 https://github.com/python-pillow/Pillow
# install extra test images for a better starting corpus
RUN cd Pillow && depends/install_extra_test_images.sh
COPY build.sh $SRC/
COPY fuzz_* $SRC/Pillow
WORKDIR $SRC/Pillow

View File

@ -46,4 +46,4 @@ ASAN_OPTIONS=\$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=\$this_dir/llvm
chmod u+x $OUT/$fuzzer_basename
done
find Tests/images Tests/icc Tests/fonts -print | zip -q $OUT/testfiles_fuzzer_seed_corpus.zip -@
find Tests/images Tests/icc Tests/fonts -print | zip -q $OUT/fuzz_pillow_seed_corpus.zip -@