aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFObjectHandle.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-08-19 03:26:19 +0200
committerJay Berkenbilt <ejb@ql.org>2019-08-20 01:48:27 +0200
commit42d396f1dd8d38294e45b14021cd72c13850a53b (patch)
treec4f0eed9ce9d048a7db7322050fd5b73d67a8d3c /include/qpdf/QPDFObjectHandle.hh
parentd9dd99eca32e44788165ce169f1e59498ad1c16e (diff)
downloadqpdf-42d396f1dd8d38294e45b14021cd72c13850a53b.tar.zst
Handle invalid name tokens symmetrically for PDF < 1.2 (fixes #332)
Diffstat (limited to 'include/qpdf/QPDFObjectHandle.hh')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 4f18cbda..1b0d481b 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -1039,7 +1039,8 @@ class QPDFObjectHandle
static void parseContentStream_data(
PointerHolder<Buffer>,
std::string const& description,
- ParserCallbacks* callbacks);
+ ParserCallbacks* callbacks,
+ QPDF* context);
std::vector<QPDFObjectHandle> arrayOrStreamToStreamArray(
std::string const& description, std::string& all_description);
static void warn(QPDF*, QPDFExc const&);