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
..
2016-04-11 08:02:06 -05:00
2015-10-04 15:45:24 +02:00
2016-04-11 08:02:06 -05:00
2015-11-06 10:55:43 -06:00
2015-11-03 09:03:08 -06:00
2017-01-10 16:42:43 +00:00
2017-04-10 16:18:08 -07:00
2017-04-05 15:17:38 -07:00
2017-08-03 22:19:36 -07:00
2015-10-16 18:54:18 +02:00
2015-10-16 18:54:18 +02:00