Skip to content
Tcl Source Code Artifact [41849e1538]
Login

Artifact [41849e1538]

Artifact 41849e1538ba28602b2367b780aa9218aafd3370:

Manifest of check-in [41849e1538] - * generic/tclCompCmds.c (TclCompileCatchCmd): * tests/compile.test (compile-3,6): Reworked the compilation of the [catch] command so as to avoid placing any code that might throw an exception (specifically, any initial substitutions or any stores to result or options variables) between the BEGIN_CATCH and END_CATCH but outside the exception range. Added a test case that panics on a stack smash if the change is not made. [Bug #3098302] by kennykb on 2010-11-03 00:58:04.
B 15d3eaf6408c45d86865b7819fee0de1c2531e7a
C *\sgeneric/tclCompCmds.c\s(TclCompileCatchCmd):\n*\stests/compile.test\s(compile-3,6):\sReworked\sthe\scompilation\sof\nthe\s[catch]\scommand\sso\sas\sto\savoid\splacing\sany\scode\sthat\smight\nthrow\san\sexception\s(specifically,\sany\sinitial\ssubstitutions\nor\sany\sstores\sto\sresult\sor\soptions\svariables)\sbetween\sthe\nBEGIN_CATCH\sand\sEND_CATCH\sbut\soutside\sthe\sexception\srange.\nAdded\sa\stest\scase\sthat\spanics\son\sa\sstack\ssmash\sif\sthe\schange\nis\snot\smade.\s[Bug\s#3098302]\n
D 2010-11-03T00:58:04
F ChangeLog 9faa349138aaf9668d843e606d3e07ca1f22917d
F generic/tclCompCmds.c 031e0bcbf322deb8955249b50d76fda391b487e6
F tests/compile.test 83d31806e11dff6fc9003139fbc062fa6762ae61
P 15d3eaf6408c45d86865b7819fee0de1c2531e7a
U kennykb
Z 56009466ef3d959d0425185fc513a9e4