From a69fea14ae12fef439b914f80ccaa86473b100b0 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 8 Apr 2023 13:34:25 -0400 Subject: Add the file to reproduce fuzz issue 57639 It is possible to reproduce the failure with this file following the instructions with oss-fuzz, though it does not cause a failure in CI. The failure was introduced in 18c1ffe0df335a46cddbeb96e2cb939d850df9fa. --- fuzz/CMakeLists.txt | 3 ++- fuzz/qpdf_extra/57639.fuzz | Bin 0 -> 20154 bytes fuzz/qtest/fuzz.test | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 fuzz/qpdf_extra/57639.fuzz (limited to 'fuzz') diff --git a/fuzz/CMakeLists.txt b/fuzz/CMakeLists.txt index 04743005..db9bfd71 100644 --- a/fuzz/CMakeLists.txt +++ b/fuzz/CMakeLists.txt @@ -108,7 +108,8 @@ set(CORPUS_OTHER 27393.fuzz 28262.fuzz 30507.fuzz - 37740.fuzz) + 37740.fuzz + 57639.fuzz) set(CORPUS_DIR ${CMAKE_CURRENT_BINARY_DIR}/qpdf_corpus) file(MAKE_DIRECTORY ${CORPUS_DIR}) diff --git a/fuzz/qpdf_extra/57639.fuzz b/fuzz/qpdf_extra/57639.fuzz new file mode 100644 index 00000000..053735e6 Binary files /dev/null and b/fuzz/qpdf_extra/57639.fuzz differ diff --git a/fuzz/qtest/fuzz.test b/fuzz/qtest/fuzz.test index d234ce79..26995dac 100644 --- a/fuzz/qtest/fuzz.test +++ b/fuzz/qtest/fuzz.test @@ -20,7 +20,7 @@ my @fuzzers = ( ['pngpredictor' => 1], ['runlength' => 6], ['tiffpredictor' => 1], - ['qpdf' => 52], # increment when adding new files + ['qpdf' => 53], # increment when adding new files ); my $n_tests = 0; -- cgit v1.2.3-54-g00ecf