[
https://issues.apache.org/jira/browse/DISPATCH-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17382100#comment-17382100
]
ASF GitHub Bot commented on DISPATCH-2199:
------------------------------------------
ChugR opened a new pull request #1300:
URL: https://github.com/apache/qpid-dispatch/pull/1300
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> 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: [email protected]
For additional commands, e-mail: [email protected]