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

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

Commit 1878242 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1878242 ]

PDFBOX-4849: avoid Flate leak, as suggested by Christof Lorenz

> FlateFilter Inflater leaks
> --------------------------
>
>                 Key: PDFBOX-4849
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4849
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.19
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.20, 3.0.0 PDFBox
>
>
> From Christof Lorenz on the users mailing list
> {quote}
> I saw that the inflater's end() method is being called in 
> FlateFilter.decompress.
> But our tests are showing inflaters not being closed, that were opened by 
> FlateFilter.decompress.
> I think the inflater.end() should be called in a finally block to really 
> close them all.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to