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/10/30 19:43:36 UTC

[jira] [Commented] (PDFBOX-2455) NonSequentialParser does not tolerate missing %%EOF markers

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

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

Commit 1635584 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1635584 ]

PDFBOX-2455: ignore missing %%EOF when in lenient mode as proposed by Michele Balistreri

> NonSequentialParser does not tolerate missing %%EOF markers
> -----------------------------------------------------------
>
>                 Key: PDFBOX-2455
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2455
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.7, 2.0.0
>            Reporter: Michele Balistreri
>            Assignee: Andreas Lehmkühler
>         Attachments: NonSequentialPDFParser_NoEOF.patch, corrupted_eof.pdf
>
>
> The NonSequentialParser throws an exception when parsing a file with a missing or corrupted %%EOF marker. All PDF-viewers I tried however handle this kind of documents without problems.
> The attached patch makes the parser ignore missing %%EOF when in lenient mode. I cannot attach the original file presenting this problem, since it is a bank statement, but I have attached a small document with the same issue that I have created for testing.



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