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

Niels Beekman updated TIKA-875:
-------------------------------

    Attachment: patch.svn.diff

Attached is a patch that fixes this issue (diff against tags/1.0). 
Additionally, the reader is disposed in a try/finally construct.
                
> Temporary file leak in ImageParser
> ----------------------------------
>
>                 Key: TIKA-875
>                 URL: https://issues.apache.org/jira/browse/TIKA-875
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.0
>            Reporter: Niels Beekman
>         Attachments: patch.svn.diff
>
>
> The stream obtained through ImageIO.createImageInputStream is not closed 
> (org.apache.tika.parser.image.ImageParser.parse(InputStream, ContentHandler, 
> Metadata, ParseContext)). When performing a lot of parse operations, the 
> process can easily run out of file descriptors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to