2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-02-13 17:28:29 +00:00
qpdf/libqpdf
m-holger 7a20ba0c6a Add new method Xref_table::prepare_obj_table
Remove invalid objects introduced into the object table during xref table
parsing. At the moment, such invalid objects could override valid objects
if valid gen < invalid gen. Once the object table is indexed by object id
only, the invalid object will prevent valid objects with the same id
entering the object table.

The additional test case uses good10.pdf, with the dangling reference
in the trailer replaced with 3 1 R. Prior to this commit, this caused
the page object 3 0 to be masked and replaced with a null object.
2024-10-17 14:30:10 +01:00
..
2024-09-17 09:59:00 +01:00
2024-10-09 11:27:28 +01:00
2024-10-17 14:30:10 +01:00