You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2021/07/16 14:09:00 UTC

[jira] [Assigned] (DISPATCH-2199) Cleanup_link code in container.c does not use safe_ptr properly

     [ https://issues.apache.org/jira/browse/DISPATCH-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Assignee: Charles E. Rolke

> 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
>            Assignee: Charles E. Rolke
>            Priority: Major
>             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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org