File qpdf-s390x-disable-fuzz-16214.patch of Package qpdf
diff -druN qpdf-10.3.1.orig/libqpdf/QPDFWriter.cc qpdf-10.3.1/libqpdf/QPDFWriter.cc
--- qpdf-10.3.1.orig/libqpdf/QPDFWriter.cc 2021-03-11 18:59:41.000000000 +0100
+++ qpdf-10.3.1/libqpdf/QPDFWriter.cc 2024-03-13 14:38:06.559805352 +0100
@@ -2078,7 +2078,6 @@
// This condition occurred in a fuzz input. Ideally we
// should block it at at parse time, but it's not
// clear to me how to construct a case for this.
- QTC::TC("qpdf", "QPDFWriter stream in ostream");
obj_to_write.warnIfPossible(
"stream found inside object stream; treating as null");
obj_to_write = QPDFObjectHandle::newNull();
diff -druN qpdf-10.3.1.orig/qpdf/qpdf.testcov qpdf-10.3.1/qpdf/qpdf.testcov
--- qpdf-10.3.1.orig/qpdf/qpdf.testcov 2021-03-11 18:59:41.000000000 +0100
+++ qpdf-10.3.1/qpdf/qpdf.testcov 2024-03-13 13:51:49.681728918 +0100
@@ -443,7 +443,6 @@
QPDF eof skipping spaces before xref 1
QPDF_encryption user matches owner V < 5 0
QPDF_encryption same password 1
-QPDFWriter stream in ostream 0
QPDFObjectHandle duplicate dict key 0
QPDFWriter no encryption sig contents 0
QPDFPageObjectHelper colorspace lookup 0
diff -druN qpdf-10.3.1.orig/qpdf/qtest/qpdf.test qpdf-10.3.1/qpdf/qtest/qpdf.test
--- qpdf-10.3.1.orig/qpdf/qtest/qpdf.test 2021-03-11 18:59:41.000000000 +0100
+++ qpdf-10.3.1/qpdf/qtest/qpdf.test 2024-03-13 12:30:36.582027481 +0100
@@ -996,7 +996,6 @@
["263", "empty xref stream", 2],
["335a", "ozz-fuzz-12152", 2],
["335b", "ozz-fuzz-14845", 2],
- ["fuzz-16214", "stream in object stream", 3],
# When adding to this list, consider adding to SEED_CORPUS_FILES
# in fuzz/build.mk and updating the count in fuzz/qtest/fuzz.test.
);