bin/oss-fuzz-setup.sh |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit afaaf8cdb0f00b068c7eb20c6de261a23b5b35dd
Author:     Caolán McNamara <[email protected]>
AuthorDate: Mon Jan 31 10:13:18 2022 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Jan 31 11:46:49 2022 +0100

    extract an initial webpfuzzer_seed_corpus.zip from the afl corpus
    
    Change-Id: Iae44bf9113cf78e2f7dcf20a4f987bda0614b2d2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129214
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/bin/oss-fuzz-setup.sh b/bin/oss-fuzz-setup.sh
index 5566d845f66c..f69c6b1377a3 100755
--- a/bin/oss-fuzz-setup.sh
+++ b/bin/oss-fuzz-setup.sh
@@ -83,12 +83,14 @@ curl --no-progress-meter -S \
     -C - -O 
https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/xml.dict \
     -C - -O 
https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/html_tags.dict
 #fuzzing corpuses
+#afl jpeg, gif, bmp, png, webp
 curl --no-progress-meter -S -C - -O 
https://lcamtuf.coredump.cx/afl/demo/afl_testcases.tgz
 mkdir -p afl-testcases && cd afl-testcases/ && tar xf $SRC/afl_testcases.tgz 
&& cd .. && \
     zip -q $SRC/jpgfuzzer_seed_corpus.zip afl-testcases/jpeg*/full/images/* && 
\
     zip -q $SRC/giffuzzer_seed_corpus.zip afl-testcases/gif*/full/images/* && \
     zip -q $SRC/bmpfuzzer_seed_corpus.zip afl-testcases/bmp*/full/images/* && \
-    zip -q $SRC/pngfuzzer_seed_corpus.zip afl-testcases/png*/full/images/*
+    zip -q $SRC/pngfuzzer_seed_corpus.zip afl-testcases/png*/full/images/* && \
+    zip -q $SRC/webpfuzzer_seed_corpus.zip afl-testcases/webp*/full/images/*
 # using github's svn view to use svn export as a hack to just export part of 
the git repo
 svn export --force -q https://github.com/khaledhosny/ots/trunk/tests/fonts 
$SRC/sample-sft-fonts/ots
 svn export --force -q 
https://github.com/unicode-org/text-rendering-tests/trunk/fonts/ 
$SRC/sample-sft-fonts/unicode-org

Reply via email to