<i>Tcl crashes when debugging with Komodo</i> status still Open with 4 other changes
by
.
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