You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2016/03/17 20:40:33 UTC
[jira] [Updated] (PDFBOX-3006) Resource leak in 2.0-SNAPSHOT in
PDDocument.load(File...)
[ https://issues.apache.org/jira/browse/PDFBOX-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-3006:
---------------------------------------
Fix Version/s: 2.0.0
> Resource leak in 2.0-SNAPSHOT in PDDocument.load(File...)
> ---------------------------------------------------------
>
> Key: PDFBOX-3006
> URL: https://issues.apache.org/jira/browse/PDFBOX-3006
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing, PDModel
> Reporter: Tim Allison
> Fix For: 2.0.0
>
>
> If a user calls PDDocument#load(File...) around line 907 in trunk and there's a parse exception, the {{raFile}} is never closed. This emerged as a actual issue while running tika-batch to support PDFBOX-2252 and then via code review.
> As a side note, I only looked very quickly, but it isn't clear to me where {{raFile}} is closed under normal circumstances.
--
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