Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2199

Cleanup_link code in container.c does not use safe_ptr properly

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.16.1
    • 1.17.0
    • Router Node
    • None

    Description

      This code manually performs the function of public interface qd_alloc_deref_safe_ptr() .

              // cleanup any inbound message that has not been forwarded
              qd_message_t *msg = link->incoming_msg.ptr;
              if (msg && qd_alloc_sequence(msg) == link->incoming_msg.seq)
                  qd_message_free(msg);
      

       

      Modifications to qd_alloc_deref_safe_ptr are not applied to this code block and will spoil research efforts.

      Attachments

        Issue Links

          Activity

            People

              chug Charles E. Rolke
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: