[Poppler-bugs] [Bug 29189] Fails to parse PDF with damaged internal structure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 24 07:14:10 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29189

--- Comment #5 from Ilya Gorenbein <igorenbein at finjan.com> 2010-07-24 07:14:11 PDT ---
You are correct - it makes possible opening a PDF that was not possible before.
Currently, when we open a PDF, we have the following flows:
If the PDF has static (old style) xref - it will be used to open the PDF.
In some cases, if the xref is damaged, dynamic xref reconstruction will run.
Both, flows are part of XRef constructor. But, the problem can happen even if
the XRef was constructed successfully, later, at run time. 
Proposed patch handles the case, when the XRef was constructed successfully
using static xref table, but the problem was happend, later, at run time. For
example, during the fetch procedure.
The patch, tries to run dynamic XRef construction, only if the XRef was built
statically before.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list