From a14f6d151797cd7cbdc413d2f7f338b3d4757836 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Tue, 18 Jun 2002 13:22:21 +0000 Subject: generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic code for tcl-stack corruption. --- ChangeLog | 5 +++++ generic/tclExecute.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0d7ce42..98925f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-06-18 Miguel Sofer + + * generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic + code for tcl-stack corruption. + 2002-06-17 David Gravereaux Trims to support the removal of RESOURCE_INCLUDED from rc diff --git a/generic/tclExecute.c b/generic/tclExecute.c index f5949af..2a340f0 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.70 2002/06/17 22:52:51 hobbs Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.71 2002/06/18 13:22:21 msofer Exp $ */ #include "tclInt.h" @@ -1079,6 +1079,7 @@ TclExecuteByteCode(interp, codePtr) switch (*pc) { case INST_DONE: if (stackTop <= initStackTop) { + stackTop--; goto abnormalReturn; } -- cgit v0.12