Joined: Thu Jul 03, 2014 9:19 pm Posts: 2
|
Hi all,
we had Problems opening certain Pdfs causing PdfReader.Open() to enter an infinite Loop. Readers show this Documents as empty. We found out that these Pdfs were created by a faulty library which inserted a Thousands-Separator in the Parameters of /MediaBox (the Pages need to be fairly large to show this behavior (>A4)). I have attached a Document which I prepared to show this faulty Parameters. Debug-Builds already show an Assertion in this Situation complaining about an unexpected Symbol. Wouldn't it make sense to throw an Exception if a malformed Pdf is detected?
Gerd
Attachments: |
File comment: Pdf with malformed /MediaBox
WrongMediaBox.zip [14.87 KiB]
Downloaded 808 times
|
|
|