From b389268f16fcd571bbc57ef848caba25490a1b86 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 29 Jul 2017 10:40:31 -0400 Subject: Better handle split content streams (fixes #73) When parsing content streams, allow content to be split arbitrarily across stream boundaries. --- include/qpdf/QPDFObjectHandle.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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 stream_data, + std::string const& description, + ParserCallbacks* callbacks); // Other methods static void warn(QPDF*, QPDFExc const&); -- cgit v1.2.3-54-g00ecf