aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-02-16 05:24:45 +0100
committerJay Berkenbilt <ejb@ql.org>2018-02-19 03:06:27 +0100
commitcb3b705cf9738687f32af6248e17c4cafd3dc86c (patch)
tree5b04d5ab43a56dd8c49362ccf93081045f3e98d9 /libqpdf/QPDF.cc
parent21b7481b0e6a47665eb9a804c34470d85d3c7f93 (diff)
downloadqpdf-cb3b705cf9738687f32af6248e17c4cafd3dc86c.tar.zst
Include filename in object stream parse error
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc3
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)