Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-368

Calling pn_messenger_put with a message with no address causes a segmentation fault

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None

      Description

      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:

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhs Rafael H. Schloming
                Reporter:
                mcpierce Darryl L. Pierce
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: