You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2024/07/25 12:27:00 UTC

[jira] [Resolved] (DIRAPI-405) A possible handle leak

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

Emmanuel Lécharny resolved DIRAPI-405.
--------------------------------------
    Fix Version/s: 2.1.7
       Resolution: Fixed

The interned resource is now closed, using a try-with-resource.

> A possible handle leak
> ----------------------
>
>                 Key: DIRAPI-405
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-405
>             Project: Directory Client API
>          Issue Type: Bug
>            Reporter: Artemii Voronin
>            Priority: Major
>             Fix For: 2.1.7
>
>
> There is a possible handle leak of variable *transformer* in [this function|https://github.com/apache/directory-ldap-api/blob/bc63cabe199905158578dbf4936eb60fcd6ae4b4/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/ParserUtils.java#L299].
> Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.
> Author A. Voronin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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