You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2018/11/09 17:53:00 UTC

[jira] [Created] (COMPRESS-470) ParallelScatterZipCreator leaks temporary files (and maybe more)

Stefan Bodewig created COMPRESS-470:
---------------------------------------

             Summary: ParallelScatterZipCreator leaks temporary files (and maybe more)
                 Key: COMPRESS-470
                 URL: https://issues.apache.org/jira/browse/COMPRESS-470
             Project: Commons Compress
          Issue Type: Bug
          Components: Archivers
    Affects Versions: 1.18
            Reporter: Stefan Bodewig


As indicated by https://issues.apache.org/jira/browse/COMPRESS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679878#comment-16679878 COMPRESS-446 may have closed one resource leak but not all of them.

If an exception occurs in {{writeTo}} we may miss calling {{close}} on some of the {{ScatterZipOutputStream}}s which in turn may leak resources like temporary files opened by using {{FileBasedScatterGatherBackingStore}}.

This affects all versions since 1.10



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)