2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

Add additional fuzzer test cases

Add test case for oss-fuzz 15471 and 69977a
This commit is contained in:
m-holger 2024-07-09 17:17:10 +01:00
parent 2e378d920d
commit 7172dbd4e0
4 changed files with 3 additions and 2 deletions

View File

@ -123,6 +123,7 @@ set(CORPUS_OTHER
69913.fuzz
69969.fuzz
69977.fuzz
69977a.fuzz
70055.fuzz
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
fuzz/qpdf_extra/69977a.fuzz Normal file

Binary file not shown.

View File

@ -13,7 +13,7 @@ my $qpdf_corpus = $ENV{'QPDF_FUZZ_CORPUS'} || die "must set QPDF_FUZZ_CORPUS";
my @fuzzers = (
['ascii85' => 1],
['dct' => 1],
['dct' => 2],
['flate' => 1],
['hex' => 1],
['json' => 40],
@ -21,7 +21,7 @@ my @fuzzers = (
['pngpredictor' => 1],
['runlength' => 6],
['tiffpredictor' => 2],
['qpdf' => 66], # increment when adding new files
['qpdf' => 67], # increment when adding new files
);
my $n_tests = 0;