You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/05/13 21:22:00 UTC

[jira] [Commented] (ARIES-2215) Service reference leak in RemoteServiceAdminCore.exportService

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

ASF subversion and git services commented on ARIES-2215:
--------------------------------------------------------

Commit 0caf5a7d676450e70b39a79dff247e2dc32fb26c in aries-rsa's branch refs/heads/master from Amichai Rothman
[ https://gitbox.apache.org/repos/asf?p=aries-rsa.git;h=0caf5a7d ]

ARIES-2215 Fix service reference leak on export error


> Service reference leak in RemoteServiceAdminCore.exportService
> --------------------------------------------------------------
>
>                 Key: ARIES-2215
>                 URL: https://issues.apache.org/jira/browse/ARIES-2215
>             Project: Aries
>          Issue Type: Bug
>          Components: Remote Service Admin
>    Affects Versions: rsa-1.16.1
>            Reporter: Amichai Rothman
>            Priority: Major
>
> RemoteServiceAdminCore.exportService calls getService, passing the reference, passing the reference to the returned export registration which will eventually unget it when the export is closed.
> However, if an error occurs in this method and an invalid export registration is returned (with an exception instead of a reference) or null is returned, ungetService is never called and the reference is leaked.



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