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

David Camilo Espitia Manrique commented on TRANSPORTS-55:
---------------------------------------------------------


Hi Martin,

If you do I implement this in a thread-safe, Does this would be a false 
positive?


Thanks.

> Improper Resource Shutdown or Release in BaseUtils.java 246
> -----------------------------------------------------------
>
>                 Key: TRANSPORTS-55
>                 URL: https://issues.apache.org/jira/browse/TRANSPORTS-55
>             Project: Axis2 Transports
>          Issue Type: Bug
>          Components: Base
>    Affects Versions: 1.0.0
>            Reporter: David Camilo Espitia Manrique
>              Labels: security
>             Fix For: 1.0.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We are currently using "Axis2-transport-base 1.0.0 " and the veracode 
> analysis found a bug in this class "BaseUtils.java" line 246:
> Type:  Improper Resource Shutdown or Release
> Description:
> The application fails to release (or incorrectly releases) a system resource 
> before it is made available for re-use. This
> condition often occurs with resources such as database connections or file 
> handles. Most unreleased resource issues
> result in general software reliability problems, but if an attacker can 
> intentionally trigger a resource leak, it may be
> possible to launch a denial of service attack by depleting the resource pool.
> Recommendations:
> When a resource is created or allocated, the developer is responsible for 
> properly releasing the resource as well as
> accounting for all potential paths of expiration or invalidation. Ensure that 
> all code paths properly release resources



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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to