You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/05/24 16:58:55 UTC

[jira] [Created] (AMQCPP-406) TcpTransport can leak memory if the connect method fails midway through

Timothy Bish created AMQCPP-406:
-----------------------------------

             Summary: TcpTransport can leak memory if the connect method fails midway through
                 Key: AMQCPP-406
                 URL: https://issues.apache.org/jira/browse/AMQCPP-406
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Transports
    Affects Versions: 3.4.2, 3.5.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 3.5.0, 3.4.3


the Input and OutputStream chains that are built inside TcpTransport connect can leak if an exception is thrown before the get assigned into the class level pointer instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AMQCPP-406) TcpTransport can leak memory if the connect method fails midway through

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQCPP-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-406.
---------------------------------

    Resolution: Fixed

Fix applied in trunk and the 3.4.x fixes branch.
                
> TcpTransport can leak memory if the connect method fails midway through
> -----------------------------------------------------------------------
>
>                 Key: AMQCPP-406
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-406
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 3.4.2, 3.5.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 3.5.0, 3.4.3
>
>
> the Input and OutputStream chains that are built inside TcpTransport connect can leak if an exception is thrown before the get assigned into the class level pointer instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira