[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wss4j-dev
Subject:    [jira] [Closed] (WSS-547) unreleased resource
From:       "Colm O hEigeartaigh (JIRA)" <jira () apache ! org>
Date:       2017-03-24 11:19:41
Message-ID: JIRA.12846540.1437490376000.111521.1490354381591 () Atlassian ! JIRA
[Download RAW message or body]


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

Colm O hEigeartaigh closed WSS-547.
-----------------------------------
    Resolution: Not A Problem

> unreleased resource
> -------------------
> 
> Key: WSS-547
> URL: https://issues.apache.org/jira/browse/WSS-547
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Core
> Affects Versions: 2.0.3
> Reporter: Jens Kordowski
> Assignee: Marc Giger
> 
> Hi,
> found 2 resource leaks:
> org.apache.wss4j.stax.impl.processor.output.WSSSignatureOutputProcessor.digestExternalReference() \
> opens an InputStream: InputStream  inputStream  =  attachment.getSourceStream();
> In case the later buildTransformerChain() throws an XMLSecurityException, this \
> resource is leaked. \
> org.apache.wss4j.stax.impl.processor.input.WSSSignatureReferenceVerifyInputProcessor.verifyExternalReference() \
> does the same thing: InputStream  attachmentInputStream  =  \
> attachment.getSourceStream(); In case the later reateMessageDigestOutputStream() \
> throws an XMLSecurityException, the resource is leaked. Best regards
> Jens



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic