Alan Conway created PROTON-1819:
-----------------------------------

             Summary: [cpp] handle running out of sessions properly
                 Key: PROTON-1819
                 URL: https://issues.apache.org/jira/browse/PROTON-1819
             Project: Qpid Proton
          Issue Type: Bug
          Components: cpp-binding
    Affects Versions: proton-c-0.22.0
            Reporter: Alan Conway
             Fix For: proton-c-0.23.0


C++ binding does not handle running out of sessions correctly, see:

[https://github.com/apache/qpid-proton/blob/master/proton-c/bindings/cpp/src/connection.cpp#L113]

 

The binding should throw an exception rather than returning a null session, 
which will almost certainly cause a core dump when the application tries to use 
it.

This issue was pointed out by the reporter of

https://bugzilla.redhat.com/show_bug.cgi?id=1561876



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to