Unchecked stack overflow in TclReExec
Closed / Fixed947070ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-05-03 16:36:06
The attached test case crashes tclsh with a
"stack overflow" exception.
Configuration:
HEAD as of 2004-04-30
Win2k, VC++ 6 SP5, cygwin
--enable-threads --enable-symbols
The problem is that the activation record for TclReExec
is larger than TCL_WIN_STACK_THRESHOLD, so we
can get into there with insufficient space on the stack
to run the function.
Fix is to increase TCL_WIN_STACK_THRESHOLD -
0x8000 appears sufficient. 0x4000 is not.
I plan to fix this myself - I'm logging this so
I don't forget and for the benefit of future
maintainers.
kennykbplain2004-05-03 23:36:09
File Added - 85947: regexpcrash.tcl
kennykb Closed ticket [947070ffff].
[History diff]2004-05-04 00:04:48
Log in (anonymous is fine) to add a comment.
Attachments:
- regexpcrash.tcl [download] added by kennykb on 2004-05-03 23:36:09. [details]