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

Andreas Lehmkühler commented on PDFBOX-2521:
--------------------------------------------

I've improved the self repair mechanism to avoid false positives. The attached 
pdf works now

> Don't throw IOException if stream length is missing in lenient mode
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-2521
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2521
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.7, 2.0.0
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.8.8, 2.0.0
>
>         Attachments: nonseq.patch, out.pdf
>
>
> The non-sequential parser throws an IOException if the lenght of a stream is 
> missing. This should be avoided in lenient mode, escpacially as the parser 
> checks the length afterwards add uses the fallback readUntilEnd if the length 
> is invalid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to