mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
In QPDF::recoverStreamLength mark unreachable code
This commit is contained in:
parent
dc1ae8457d
commit
42cd7a98ad
@ -1667,6 +1667,7 @@ QPDF::recoverStreamLength(
|
||||
if (this_obj_offset && (this_og == og)) {
|
||||
// Well, we found endstream\nendobj within the space allowed for this object, so we're
|
||||
// probably in good shape.
|
||||
throw std::logic_error("unreachable success");
|
||||
} else {
|
||||
QTC::TC("qpdf", "QPDF found wrong endstream in recovery");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user