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

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

Commit 1725483 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1725483 ]

PDFBOX-3199: close stream

> JPEG input file not closed when creating PDImageXObject
> -------------------------------------------------------
>
>                 Key: PDFBOX-3199
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3199
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.0
>
>
> In PDImageXObject, this code
> {code}
> return JPEGFactory.createFromStream(doc, new FileInputStream(file));
> {code}
> results in an unclosed file.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to