Skip to content
Tcl Source Code Artifact [d23fcb346b]
Login

Artifact [d23fcb346b]

Artifact d23fcb346bf340292760f860d5c51e4f749c240b:

Ticket change [d23fcb346b] - New ticket [1115904fffffffff|1115904fff] <i>Tcl_EvalEx can evade recursion limit</i>. by dgp on 2005-02-04 02:23:59.
D 2005-02-04T02:23:59
J assignee msofer
J cmimetype text/plain
J comment \nCall\sTcl_EvalEx()\son\sa\scommand\nwith\ssignificant\snesting\sof\ssubstitution...\n\nTcl_Eval(interp,\s"foo\s[foo\s[foo\s[...]]]");\n\nTcl_EvalEx\swill\scall\sTclSubstTokens\nto\sdo\sthe\scommand\ssubstitution\sfor\nthe\sargument.\s\sWhich\swill\sturn\saround\nand\srecursively\scall\sTcl_EvalEx\sto\nevaluate\sthe\scommand,\setc.\n\n...All\swithout\sincrementing\siPtr->numLevels...\n\nThis\smeans\san\sarbitrary\sdeep\snumber\nof\srecursive\scalls\sto\sTcl_EvalEx\scan\nhappen\swithout\sdetection,\sevading\sthe\nlimitations\smeant\sto\sbe\simposed\sby\n[interp\srecursionlimit].\s\sEventually\sthis\ncan\slead\sto\sstack\soverflow\sproblems.
J foundin obsolete:\s8.5a3
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 45.\sParsing\sand\sEval
J title Tcl_EvalEx\scan\sevade\srecursion\slimit
J type Bug
K 1115904fffffffffffffffffffffffffffffffff
U dgp
Z 7c85bd4afaa4cf0e1ab2451dda14ca1a