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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.4
    • proton-0.5
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: