diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-02-17 00:34:43 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-02-19 03:06:27 +0100 |
commit | 52e024f70198e18c96f613a789baa79622e8f1ea (patch) | |
tree | 4f75d6618b84a721240bfc94a159179315d0c359 /libqpdf | |
parent | cb3b705cf9738687f32af6248e17c4cafd3dc86c (diff) | |
download | qpdf-52e024f70198e18c96f613a789baa79622e8f1ea.tar.zst |
Include omitted object description in error message
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDF.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 379b34b3..31c8d8e2 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -1269,7 +1269,8 @@ QPDF::readObject(PointerHolder<InputSource> input, decrypter = decrypter_ph.getPointer(); } QPDFObjectHandle object = QPDFObjectHandle::parse( - input, description, this->m->tokenizer, empty, decrypter, this); + input, this->m->last_object_description, + this->m->tokenizer, empty, decrypter, this); if (empty) { // Nothing in the PDF spec appears to allow empty objects, but |