Skip to content
Tcl Source Code Artifact [98fe6a362d]
Login

Artifact [98fe6a362d]

Artifact 98fe6a362d8c9e0c5592e1bcaa646e5acec67a96:

Ticket change [98fe6a362d] - New ticket [1832612fffffffff|1832612fff] <i>fixempties() can traverse free list</i>. by dgp on 2007-11-15 17:00:35.
D 2007-11-15T17:00:35
J assignee pvgoran
J cmimetype text/plain
J comment \nAttached\sis\spatch\sto\sfix\sa\nbuggy\sloop\sin\sthe\sfixempties()\nroutine.\n\nThe\sloop\straverses\slinked\slists,\nand\sthe\score\sof\sthe\sloop\scan\nremove\san\sitem\sfrom\sthe\slist.\nThe\sloop\sproperly\shandles\sthe\ncase\swhere\sthe\scurrent\sitem\sis\nremoved\sby\sfiguring\sout\swhere\sto\ngo\snext\sbefore\sthe\sitem\spointing\nthe\sway\smight\sget\sremoved.\n\nHowever,\sit\sdoesn't\shandle\sthe\ncase\swhere\sthe\sstate\swhere\swe're\ngoing\snext\sgets\sremoved.\s\sIn\sthat\ncase,\sthe\sloop\sfollows\sthat\ndeleted\sstate,\sand\sends\sup\s\nwalking\sthe\sfreelist\sof\sdiscarded\nstates.\s\sThose\sdiscarded\sstates\nare\strivial\sdata-less\sstates,\sso\nthere's\sno\sharm,\sbut\swe\smight\sbe\nspending\ssignificant\seffort\swalking\ndead\sstates.
J foundin obsolete:\s8.4.16
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 43.\sRegexp
J title fixempties()\scan\straverse\sfree\slist
J type Bug
K 1832612fffffffffffffffffffffffffffffffff
U dgp
Z 37063b70e33e178e285a0d09a55cd980