Menu

#1 Delete broken in ASGC.List.Expandable

v1.0_(example)
closed
nobody
None
5
2020-06-15
2002-11-14
No

The Delete procedure in ASGC.List.Expandable is
broken in two ways:

1) (In Local_Search, which is utilized by Delete) The
Prev index update in the search loop sets the wrong
parameter (it should be LPrev), resulting in the 'Prev'
parameter always being set to Null_Node. This results in
Delete always acting as if the list's Head node was
being deleted.

2) After locally fixing (1), the Deletion of an element
other than the head does not reset the Tail index if the
Tail element is deleted, resulting in subsequent
corruption of the list when new elements are
added/removed.

Discussion

  • Corey Minyard

    Corey Minyard - 2020-06-15
    • status: open --> closed
    • Group: --> v1.0_(example)
     
  • Corey Minyard

    Corey Minyard - 2020-06-15

    The first item had already been fixed. I fixed the second item. Thanks.

     
MongoDB Logo MongoDB