Overview
| Artifact ID: | 98fe6a362d8c9e0c5592e1bcaa646e5acec67a96 |
|---|---|
| Ticket: | 1832612fffffffffffffffffffffffffffffffff
fixempties() can traverse free list |
| User & Date: | dgp on 2007-11-15 17:00:35 |
Changes
- assignee changed to: "pvgoran"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "obsolete: 8.4.16"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "43. Regexp"
- title changed to: "fixempties() can traverse free list"
- type changed to: "Bug"