You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jesse Long (JIRA)" <ji...@apache.org> on 2015/11/02 13:06:27 UTC

[jira] [Updated] (PDFBOX-3002) PDF files not closed after load fails

     [ https://issues.apache.org/jira/browse/PDFBOX-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Long updated PDFBOX-3002:
-------------------------------
    Attachment: pdfbox-close-parse-error.patch

pdfbox-close-parse-error.patch: With the changes made to PDDocument in r1706070, there is still a possibility that files will go unclosed in the case of a parse error. This patch seeks to address that.

> PDF files not closed after load fails
> -------------------------------------
>
>                 Key: PDFBOX-3002
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3002
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.10, 1.8.11, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.11, 2.0.0
>
>         Attachments: pdfbox-close-parse-error.patch
>
>
> In 2.0, PDF files are not closed affter load() if the parsing fails. I will fix this and also add tests (in 2.0 and 1.8) to make sure that PDF files are closed after load(). See also the discussion with Timo Boehme in [PDFBOX-2883|https://issues.apache.org/jira/browse/PDFBOX-2883?focusedCommentId=14935447&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14935447].



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org