Darryl L. Pierce created PROTON-368:

             Summary: Calling pn_messenger_put with a message with no address 
causes a segmentation fault
                 Key: PROTON-368
                 URL: https://issues.apache.org/jira/browse/PROTON-368
             Project: Qpid Proton
          Issue Type: Bug
    Affects Versions: 0.4
            Reporter: Darryl L. Pierce

In the Ruby bindings, if a Qpid::Proton::Message object is created but not 
given an address, and is then passed to Qpid::Proton::Messenger.put, the 
underlying C code blows up on the missing address.

Specifically at the line:

bq.      pn_link_t *sender = pn_messenger_target(messenger, address);

It should instead check that the address is set and, if not, fail earlier than 
this point.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to