aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-07-29 16:40:31 +0200
committerJay Berkenbilt <ejb@ql.org>2017-07-29 18:19:04 +0200
commitb389268f16fcd571bbc57ef848caba25490a1b86 (patch)
tree97261a0794699745ce9329265761fb70a0b1ec24 /include
parenta136824243e5aa8691a9b1f5fd5401ef7bef1a31 (diff)
downloadqpdf-b389268f16fcd571bbc57ef848caba25490a1b86.tar.zst
Better handle split content streams (fixes #73)
When parsing content streams, allow content to be split arbitrarily across stream boundaries.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 11a52596..456dade4 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -623,7 +623,9 @@ class QPDFObjectHandle
bool in_array, bool in_dictionary,
bool content_stream);
static void parseContentStream_internal(
- QPDFObjectHandle stream, ParserCallbacks* callbacks);
+ PointerHolder<Buffer> stream_data,
+ std::string const& description,
+ ParserCallbacks* callbacks);
// Other methods
static void warn(QPDF*, QPDFExc const&);