aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-08-10 03:14:48 +0200
committerJay Berkenbilt <ejb@ql.org>2017-08-11 03:30:32 +0200
commitca5b1d267ab77947cabebce0124a49480d4143b8 (patch)
tree61ab2939fb370dc492bd0c40f058940e4dab1555 /include
parent3082e4e6066dde405e4f01edec4518fd9f2c3fc7 (diff)
downloadqpdf-ca5b1d267ab77947cabebce0124a49480d4143b8.tar.zst
Improve stream length recovery
Eliminate PCRE and find endobj not preceded by endstream. Be more lax about placement of endstream and endobj.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 68525eba..92a66a34 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1030,6 +1030,7 @@ class QPDF
// Methods to support pattern finding
bool findHeader();
bool findStartxref();
+ bool findEndstream();
// methods to support linearization checking -- implemented in
// QPDF_linearization.cc