Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 98fe6a362d8c9e0c5592e1bcaa646e5acec67a96
Ticket: 1832612fffffffffffffffffffffffffffffffff
fixempties() can traverse free list
User & Date: dgp on 2007-11-15 17:00:35
Changes

  1. assignee changed to: "pvgoran"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Attached is patch to fix a
    buggy loop in the fixempties()
    routine.
    
    The loop traverses linked lists,
    and the core of the loop can
    remove an item from the list.
    The loop properly handles the
    case where the current item is
    removed by figuring out where to
    go next before the item pointing
    the way might get removed.
    
    However, it doesn't handle the
    case where the state where we're
    going next gets removed.  In that
    case, the loop follows that
    deleted state, and ends up 
    walking the freelist of discarded
    states.  Those discarded states
    are trivial data-less states, so
    there's no harm, but we might be
    spending significant effort walking
    dead states.
    
  4. foundin changed to: "obsolete: 8.4.16"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "43. Regexp"
  11. title changed to: "fixempties() can traverse free list"
  12. type changed to: "Bug"