[libjpeg-turbo] Add TGA images to compression seed corpus (#9905)

Our "cjpeg" fuzz target, which tests rarely-used compression code paths,
inputs only TARGA images (because that's a rarely-used compression code
path as well), so the lack of those images in the seed corpus was
preventing the rarely-used compression code paths from being fuzz-tested
at all. This should improve the overall coverage.
This commit is contained in:
DRC 2023-03-10 15:52:43 -06:00 committed by GitHub
parent 90cfcf7be3
commit c09f789073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ RUN git clone --depth 1 https://github.com/libjpeg-turbo/fuzz && \
RUN git clone --depth 1 https://github.com/libjpeg-turbo/seed-corpora
RUN cd seed-corpora && zip -r ../decompress_fuzzer_seed_corpus.zip afl-testcases/jpeg* bugs/decompress* $SRC/libjpeg-turbo/testimages/*.jpg
RUN cd seed-corpora && zip -r ../compress_fuzzer_seed_corpus.zip afl-testcases/bmp afl-testcases/gif* bugs/compress* $SRC/libjpeg-turbo/testimages/*.bmp $SRC/libjpeg-turbo/testimages/*.ppm
RUN cd seed-corpora && zip -r ../compress_fuzzer_seed_corpus.zip afl-testcases/bmp afl-testcases/gif* afl-testcases/targa bugs/compress* $SRC/libjpeg-turbo/testimages/*.bmp $SRC/libjpeg-turbo/testimages/*.ppm
RUN rm -rf seed-corpora
COPY build.sh $SRC/