diff options
| author | Miguel Sofer <miguel.sofer@gmail.com> | 2002-06-18 13:22:21 (GMT) |
|---|---|---|
| committer | Miguel Sofer <miguel.sofer@gmail.com> | 2002-06-18 13:22:21 (GMT) |
| commit | a4a959de3c35bd0a37bf230d9b5ee2fe2c35b931 (patch) | |
| tree | c1133b84068f4a2c937dd2ed39cac38e8b527950 | |
| parent | c46b80adeecb9a9c8f8ebf3a7b1b85ae81ca0817 (diff) | |
| download | tcl-a4a959de3c35bd0a37bf230d9b5ee2fe2c35b931.zip tcl-a4a959de3c35bd0a37bf230d9b5ee2fe2c35b931.tar.gz tcl-a4a959de3c35bd0a37bf230d9b5ee2fe2c35b931.tar.bz2 | |
generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic code
for tcl-stack corruption.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | generic/tclExecute.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2002-06-18 Miguel Sofer <msofer@users.sourceforge.net> + + * generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic + code for tcl-stack corruption. + 2002-06-17 David Gravereaux <davygrvy@pobox.com> 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; } |
