aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-11-04 17:11:48 +0100
committerJay Berkenbilt <ejb@ql.org>2021-11-04 17:29:42 +0100
commit4a648b9a00d2c4de37bf17165b20a1fc32956eee (patch)
treeb5e774eaf4374dd1973b8a2d7cd9a837d53812ab /fuzz
parent9b28933647f0a3ed535dd488c4526b75d1c10fc6 (diff)
downloadqpdf-4a648b9a00d2c4de37bf17165b20a1fc32956eee.tar.zst
Fix bug in merging resources /DR from foreign AcroForm (fixes #548)
When making resources indirect in from_dr, the code was using the wrong owning QPDF, forgetting that from_dr had already been copied using CopyForeignObject.
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/build.mk1
-rw-r--r--fuzz/qtest/fuzz.test2
2 files changed, 2 insertions, 1 deletions
diff --git a/fuzz/build.mk b/fuzz/build.mk
index d38fb909..b2e2d06a 100644
--- a/fuzz/build.mk
+++ b/fuzz/build.mk
@@ -41,6 +41,7 @@ CORPUS_FROM_TEST = \
outlines-with-old-root-dests.pdf \
page-labels-and-outlines.pdf \
page-labels-num-tree.pdf \
+ dr-with-indirect-item.pdf \
fuzz-16214.pdf \
issue-99b.pdf \
issue-99.pdf \
diff --git a/fuzz/qtest/fuzz.test b/fuzz/qtest/fuzz.test
index 8c94cb6f..73d4bd9d 100644
--- a/fuzz/qtest/fuzz.test
+++ b/fuzz/qtest/fuzz.test
@@ -9,7 +9,7 @@ require TestDriver;
my $td = new TestDriver('fuzz');
-my $qpdf_n_test_files = 30;
+my $qpdf_n_test_files = 31;
my @extra = glob("../qpdf_extra/*.fuzz");
my $qpdf_n_extra_files = scalar(@extra);
my $qpdf_n_orig_files = 2557;