Skip to content
Tcl Source Code Artifact [82231ff21f]
Login

Artifact [82231ff21f]

Artifact 82231ff21f25e213edae2a88a17fda1b1e15b03a:

Manifest of check-in [82231ff21f] - * generic/tclProc.c (TclInitCompiledLocals): Add check for type of the framePtr->procPtr->bodyPtr passed to TclInitCompiledLocals and panic if it is not the correct type. If the body of the proc is not of the compiled byte code type then the code will crash. This was discovered while tracking down a crash in Itcl, that crash is fixed by Itcl patch 1115085. by mdejong on 2005-02-02 23:08:50.
B 0162fae7ad3682c467402cc48ddb8a9ee7982424
C \t*\sgeneric/tclProc.c\s(TclInitCompiledLocals):\n\tAdd\scheck\sfor\stype\sof\sthe\sframePtr->procPtr->bodyPtr\n\tpassed\sto\sTclInitCompiledLocals\sand\spanic\sif\n\tit\sis\snot\sthe\scorrect\stype.\sIf\sthe\sbody\sof\sthe\sproc\n\tis\snot\sof\sthe\scompiled\sbyte\scode\stype\sthen\sthe\n\tcode\swill\scrash.\sThis\swas\sdiscovered\swhile\stracking\n\tdown\sa\scrash\sin\sItcl,\sthat\scrash\sis\sfixed\sby\n\tItcl\spatch\s1115085.\n
D 2005-02-02T23:08:50
F ChangeLog 0cf1aa3154fbf0da0007836b191879c0aa5da62b
F generic/tclBasic.c d50945f1800829acb5ee4ed86bb151def8118455
F generic/tclExecute.c 2399c9bf45f09e5b02078e30ae823711ff7d2502
F generic/tclProc.c b194d5fcd7fdc86251b9ae40b8e8fe06d37ab718
F generic/tclTest.c 9c84c96ed1200abe77f086f85db24ad1e88acff1
F tests/expr-old.test 3c54ef3485a54a6be48fa656674e6101fb5436b7
F unix/configure 4e43e6aea1f170153574c24e81de91665a6fc112 x
F unix/configure.in 7066aa5ce5240c96c382488a73eb11d7d8c0f21b
F unix/tcl.m4 3c9e35525c774179924928d91ec85b46f2193e54
P 55e101828a768ebfc6a2de88c1e43fc02b1f2816
U mdejong
Z 06cf993bf63b7af15bea122610110e50