You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/08/02 19:59:51 UTC
[jira] [Commented] (PROTON-387) Linked list utility code leaves
dangling pointers in removed node.
[ https://issues.apache.org/jira/browse/PROTON-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727894#comment-13727894 ]
ASF subversion and git services commented on PROTON-387:
--------------------------------------------------------
Commit 1509792 from [~kgiusti] in branch 'proton/trunk'
[ https://svn.apache.org/r1509792 ]
PROTON-387: prevent dangling pointers when removing list nodes.
> Linked list utility code leaves dangling pointers in removed node.
> ------------------------------------------------------------------
>
> Key: PROTON-387
> URL: https://issues.apache.org/jira/browse/PROTON-387
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: 0.4
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Trivial
> Fix For: 0.5
>
>
> LL_REMOVE() and LL_POP() leave the removed node's pointers still referencing the list it is no longer on.
> Hopefully it is unnecessary for me to have to explain why this is a bad thing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira