Skip to content
Tcl Source Code Artifact [b4184d92c9]
Login

Artifact [b4184d92c9]

Artifact b4184d92c90b03fc530d7c30ed04e51355e71611:

Ticket change [b4184d92c9] - Ticket [2903188fffffffff|2903188fff] <i>Tcl crashes when debugging with Komodo</i> status still Open with 4 other changes by evilmike on 2009-12-12 17:42:22.
D 2009-12-12T17:42:22
J icomment If\sit\sis\sok\sfor\sTcl_FindHashEntry\sto\sreturn\sNULL\svalues,\sthen\sthere\sare\sseveral\sfunctions\swhere\sthe\sreturn\svalue\sis\snot\schecked\sfor\sit:\nTcl_LogCommandInfo\s(tclNamesp.c:6977)\nUnsetVarStruct\s(tclVar.c:2350)\nUnsetVarStruct\s(tclVar.c:2379)\nTcl_ArrayObjCmd\s(tclVar.c:2862)\nParseSearchId\s(tclVar.c:4301)\nDeleteSearches\s(tclVar.c:4343)\nTclDeleteNamespaceVars\s(tclVar.c:4413)\nDeleteArray\s(tclVar.c:4604)\n\nAll\sof\sthese\sfunctions\scall\sTcl_GetHashValue\sbefore\schecking\sfor\sNull.\nI\sam\snot\ssaying\sthis\sis\sgenerally\swrong,\ssince\si\scan\snot\sknow\swhen\sa\shash\sentry\sis\sgarantied\sto\sexist.\sBut\sit\scan\spotentially\scrash.\nTill\snow\sI\shad\scrashes\sin\sDeleteSearches\sand\sin\sUnsetVarStruct\sexactly\swhen\sthose\sfunctions\stried\sto\sdereference\sa\sNUL\spointer\svia\sTcl_GetHashValue.\n\n
J login evilmike
J mimetype text/plain
J username evilmike
K 2903188fffffffffffffffffffffffffffffffff
U evilmike
Z 7c6498519183f410d53648241622fb3f