[ 
https://issues.apache.org/jira/browse/PDFBOX-5176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343163#comment-17343163
 ] 

Timo Boehme commented on PDFBOX-5176:
-------------------------------------

I think as we are confronted with Fuzzer generated PDFs or hand crafted bad 
PDFs we should strive for PDFBOX remaining stable (no memory overflow/infinite 
loop/stack overflow) independent of the PDF content (at least in the long run). 
Saying this processing or not processing a dictionary/value should not 
influence the stability and thus the question of how to process the problematic 
dictionary should merely be answered by how we best preserve the document 
content - maybe by parsing as much as possible and only skipping clearly 
corrupted parts(?)

> java.io.IOException: Page tree root must be a dictionary
> --------------------------------------------------------
>
>                 Key: PDFBOX-5176
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5176
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Priority: Major
>         Attachments: GHOSTSCRIPT-695040-0.zip-71.pdf, 
> GHOSTSCRIPT-695040-0.zip-87.pdf
>
>
> Happens only on 3.0, not on 2.0.23



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to