Manifest of check-in
[79caf5084b]
- * generic/tclCompCmdsSZ.c (TclSubstCompile): If the first token does
not result in a *guaranteed* push of a Tcl_Obj on the stack, we must
push an empty object. Otherwise it is possible to get to a 'concat1'
or 'done' without enough values on the stack, resulting in a crash.
Thanks to Joe Mistachkin for identifying a script that could trigger
this case.
by
dkf on
2010-04-08 13:26:23.
B 43fe3048397d3a082c8a3c34f0cd6875f4350dd3
C \t*\sgeneric/tclCompCmdsSZ.c\s(TclSubstCompile):\sIf\sthe\sfirst\stoken\sdoes\n\tnot\sresult\sin\sa\s*guaranteed*\spush\sof\sa\sTcl_Obj\son\sthe\sstack,\swe\smust\n\tpush\san\sempty\sobject.\sOtherwise\sit\sis\spossible\sto\sget\sto\sa\s'concat1'\n\tor\s'done'\swithout\senough\svalues\son\sthe\sstack,\sresulting\sin\sa\scrash.\n\tThanks\sto\sJoe\sMistachkin\sfor\sidentifying\sa\sscript\sthat\scould\strigger\n\tthis\scase.\n
D 2010-04-08T13:26:23
F ChangeLog a7fc205ed5ad152b5509000cb7807aacaa333ad0
F doc/Load.3 fb218380b8b02e73e7171987e186f4945197db9a
F doc/catch.n bda4087d08de03d73e68b570ac4260fce81e2cbd
F doc/info.n ab12cd4733e11ab71fd6577edbcc196b24b5126c
F doc/return.n 5c70615974657c48c0cceca9e5f50c528b942d4d
F generic/tclCmdMZ.c 074a7bc35c0291d6ecea69857cbc3805b0578e98
F generic/tclCompCmdsSZ.c fc31228e7dbbfa7934ed8107a12ae37e368f187b
F tests/subst.test 3737c54505570471e016e6ca24bff21bff9f5e6c
F unix/configure 5f5c497ef79763cb7c1d835705ec1485643ae884 x
F win/configure a67ca2ec37303a6d9d7c53e3bcb4bccf3fab5d5b x
P 92aed874045976b9e7737657cc6fea83f90f66eb
U dkf
Z 94bc84aa18b430bedb10b0d54593a77d