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

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.16.1
    • Fix Version/s: 1.17.0
    • Component/s: Router Node
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: