Tim Allison created PDFBOX-3006:
-----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]