diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-02-16 05:24:45 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-02-19 03:06:27 +0100 |
commit | cb3b705cf9738687f32af6248e17c4cafd3dc86c (patch) | |
tree | 5b04d5ab43a56dd8c49362ccf93081045f3e98d9 /libqpdf | |
parent | 21b7481b0e6a47665eb9a804c34470d85d3c7f93 (diff) | |
download | qpdf-cb3b705cf9738687f32af6248e17c4cafd3dc86c.tar.zst |
Include filename in object stream parse error
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 3475afe4..379b34b3 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -1847,7 +1847,8 @@ QPDF::resolveObjectsInStream(int obj_stream_number) PointerHolder<Buffer> bp = obj_stream.getStreamData(qpdf_dl_specialized); PointerHolder<InputSource> input = new BufferInputSource( - "object stream " + QUtil::int_to_string(obj_stream_number), + this->m->file->getName() + + " object stream " + QUtil::int_to_string(obj_stream_number), bp.getPointer()); for (int i = 0; i < n; ++i) |