Charles E. Rolke created DISPATCH-2199:
------------------------------------------

             Summary: Cleanup_link code in container.c does not use safe_ptr 
properly
                 Key: DISPATCH-2199
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2199
             Project: Qpid Dispatch
          Issue Type: Test
          Components: Router Node
    Affects Versions: 1.16.1
            Reporter: Charles E. Rolke
             Fix For: 1.17.0


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

{code:java}
        // 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);
{code} 

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to