Manifest of check-in
[97b99f9b41]
- * 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:59:22.
B 14d357357cdf6363ddf9b3cc605f253acafb302b
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:59:22
F ChangeLog 4d036ce82e5f4cf2564540657d8f7805badab9aa
F ChangeLog.2008 07f23183046e035eec5f43d10543a44ff3cc4f56
F generic/tclCompCmds.c 8996d441c17d0956acf3505be8582f6f62f188c8
F generic/tclIOSock.c a415e8b54064bcb16316a25024a09ce78f9a0477
F generic/tclTimer.c d516d18f0aa2d6f72023aa508209fdc1832dd776
F library/safe.tcl c1275aee665013bfb9482a14ff671315178545ed
F library/tzdata/Asia/Hong_Kong 720fbcb7fe7d7de780b41f692f6c79f1d09e58ad
F library/tzdata/Pacific/Apia 123e29a908a6542ac5ab5db65aa6fca56484fe6b
F library/tzdata/Pacific/Fiji f2f903962506aae69f144b578b225ef0b742c564
F tests/compile.test 3731d0cf4fd80029e7e29328082f0bd2ffb043c5
F tests/expr.test ac8bfd5b3d3aed81c3a4afcebbe2ce8de67a59a8
F tests/http.test 89fe7097a279f1011f58dfa7de46a3c6b01804c0
F tests/safe.test fb4df828a249add1da53ecf71407d8eb4e7329cf
F unix/tclUnixSock.c 47e903b8e25762210c38602c58cca58855ac181d
F win/tclWinSock.c bbe0416ab49d3ca977a1d57b1642223fdb0cb563
P 2704d47a48687a7180f33a35441a5b48e4929c75
U kennykb
Z 7cbd2591450d7c9cd097e702d414872d