Overview
| Artifact ID: | d23fcb346bf340292760f860d5c51e4f749c240b |
|---|---|
| Ticket: | 1115904fffffffffffffffffffffffffffffffff
Tcl_EvalEx can evade recursion limit |
| User & Date: | dgp on 2005-02-04 02:23:59 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Call Tcl_EvalEx() on a command with significant nesting of substitution... Tcl_Eval(interp, "foo [foo [foo [...]]]"); Tcl_EvalEx will call TclSubstTokens to do the command substitution for the argument. Which will turn around and recursively call Tcl_EvalEx to evaluate the command, etc. ...All without incrementing iPtr->numLevels... This means an arbitrary deep number of recursive calls to Tcl_EvalEx can happen without detection, evading the limitations meant to be imposed by [interp recursionlimit]. Eventually this can lead to stack overflow problems.
- foundin changed to: "obsolete: 8.5a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "Tcl_EvalEx can evade recursion limit"
- type changed to: "Bug"