summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-13 10:53:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-13 10:53:32 (GMT)
commitfa65ef51ba0c2de8eff89080da3e636fe4581320 (patch)
tree3b1c003f61fa0e7430bab7d11a62da4c2b2a9623
parentbb55ca2e95ff60cced5834d4c7fd370f5fa5d9b0 (diff)
downloadtcl-fa65ef51ba0c2de8eff89080da3e636fe4581320.zip
tcl-fa65ef51ba0c2de8eff89080da3e636fe4581320.tar.gz
tcl-fa65ef51ba0c2de8eff89080da3e636fe4581320.tar.bz2
Suggested fix for [bdd91c7e43]: tclsh crashes in [interp delete]
-rw-r--r--generic/tclExecute.c1
-rw-r--r--[-rwxr-xr-x]unix/configure0
2 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 8fb8e63..e657828 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -2311,6 +2311,7 @@ TclExecuteByteCode(
initCatchTop += moved;
catchTop += moved;
+ bcFramePtr = (CmdFrame *) (initCatchTop + codePtr->maxExceptDepth + 1);
initTosPtr += moved;
tosPtr += moved;
esPtr = iPtr->execEnvPtr->execStackPtr;
diff --git a/unix/configure b/unix/configure
index 217e5d4..217e5d4 100755..100644
--- a/unix/configure
+++ b/unix/configure