Commit 7172dbd4e09df332ae93d2d7368419695cf72831

Authored by m-holger
1 parent 2e378d92

Add additional fuzzer test cases

Add test case for oss-fuzz 15471 and 69977a
fuzz/CMakeLists.txt
@@ -123,6 +123,7 @@ set(CORPUS_OTHER @@ -123,6 +123,7 @@ set(CORPUS_OTHER
123 69913.fuzz 123 69913.fuzz
124 69969.fuzz 124 69969.fuzz
125 69977.fuzz 125 69977.fuzz
  126 + 69977a.fuzz
126 70055.fuzz 127 70055.fuzz
127 ) 128 )
128 129
fuzz/dct_fuzzer_seed_corpus/e0b87af81384c81c7f5c3d71dfe525daeddc1d19 0 → 100644
No preview for this file type
fuzz/qpdf_extra/69977a.fuzz 0 → 100644
No preview for this file type
fuzz/qtest/fuzz.test
@@ -13,7 +13,7 @@ my $qpdf_corpus = $ENV{'QPDF_FUZZ_CORPUS'} || die "must set QPDF_FUZZ_CORPUS"; @@ -13,7 +13,7 @@ my $qpdf_corpus = $ENV{'QPDF_FUZZ_CORPUS'} || die "must set QPDF_FUZZ_CORPUS";
13 13
14 my @fuzzers = ( 14 my @fuzzers = (
15 ['ascii85' => 1], 15 ['ascii85' => 1],
16 - ['dct' => 1], 16 + ['dct' => 2],
17 ['flate' => 1], 17 ['flate' => 1],
18 ['hex' => 1], 18 ['hex' => 1],
19 ['json' => 40], 19 ['json' => 40],
@@ -21,7 +21,7 @@ my @fuzzers = ( @@ -21,7 +21,7 @@ my @fuzzers = (
21 ['pngpredictor' => 1], 21 ['pngpredictor' => 1],
22 ['runlength' => 6], 22 ['runlength' => 6],
23 ['tiffpredictor' => 2], 23 ['tiffpredictor' => 2],
24 - ['qpdf' => 66], # increment when adding new files 24 + ['qpdf' => 67], # increment when adding new files
25 ); 25 );
26 26
27 my $n_tests = 0; 27 my $n_tests = 0;