You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/24 20:52:16 UTC

[jira] [Commented] (PDFBOX-2521) Don't throw IOException if stream length is missing in lenient mode

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

ASF subversion and git services commented on PDFBOX-2521:
---------------------------------------------------------

Commit 1641458 from [~lehmi] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1641458 ]

PDFBOX-2521: don't throw IOException in lenient mode if stream length is missing

> 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
>
>
> 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)