2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-05-31 01:10:51 +00:00

Fix offset in error message

This commit is contained in:
Jay Berkenbilt 2018-01-28 18:20:46 -05:00
parent cffb6fd64a
commit 7e5e1a7158

View File

@ -1692,7 +1692,8 @@ QPDF::readObjectAtOffset(bool try_recovery,
else
{
throw QPDFExc(qpdf_e_damaged_pdf, this->m->file->getName(),
this->m->last_object_description, offset,
this->m->last_object_description,
this->m->file->tell(),
"EOF after endobj");
}
}