Qpid Proton
  1. Qpid Proton
  2. PROTON-387

Linked list utility code leaves dangling pointers in removed node.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1509792 from Ken Giusti in branch 'proton/trunk'
        [ https://svn.apache.org/r1509792 ]

        PROTON-387: prevent dangling pointers when removing list nodes.

        Show
        ASF subversion and git services added a comment - Commit 1509792 from Ken Giusti in branch 'proton/trunk' [ https://svn.apache.org/r1509792 ] PROTON-387 : prevent dangling pointers when removing list nodes.
        Hide
        ASF subversion and git services added a comment -

        Commit 1510551 from Ken Giusti in branch 'proton/trunk'
        [ https://svn.apache.org/r1510551 ]

        PROTON-387: fix type punning warning from older GCC compilers

        Show
        ASF subversion and git services added a comment - Commit 1510551 from Ken Giusti in branch 'proton/trunk' [ https://svn.apache.org/r1510551 ] PROTON-387 : fix type punning warning from older GCC compilers

          People

          • Assignee:
            Ken Giusti
            Reporter:
            Ken Giusti
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development