Jonas Jenwald 56e3648b65 Add basic validation of the 'trailer' dictionary candidates in XRef.indexObjects (issue 9418)
This patch avoids choosing a (possible) 'trailer' dictionary that `XRef.parse` and/or the `Catalog` constructor/methods will reject anyway.
Since `XRef.indexObjects` is already parsing the entire PDF file, the extra dictionary look-ups added here shouldn't matter much. Besides, this is a fallback code-path that only applies to corrupt PDF files anyway.
2018-06-20 13:41:22 +02:00
..
2017-01-29 23:24:44 +01:00
2018-06-11 20:41:56 -07:00
2017-05-19 07:53:05 -05:00
2013-03-15 11:24:08 -07:00
2018-03-16 11:08:56 -07:00
2018-06-11 20:41:56 -07:00
2015-11-19 11:03:52 -06:00