diff options
author | hobbs <hobbs@noemail.net> | 2000-04-04 08:04:41 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-04-04 08:04:41 (GMT) |
commit | ab47b46a2ffa46758e4b4f9c06bf176fadbcb1b3 (patch) | |
tree | 9bbe1663f82d64c5d7e2e960bef62a05f171a0bf /generic | |
parent | 1520799618f8d56376a51c4d9d668674c6c708b0 (diff) | |
download | tcl-ab47b46a2ffa46758e4b4f9c06bf176fadbcb1b3.zip tcl-ab47b46a2ffa46758e4b4f9c06bf176fadbcb1b3.tar.gz tcl-ab47b46a2ffa46758e4b4f9c06bf176fadbcb1b3.tar.bz2 |
* generic/tclCmdIL.c (InfoVarsCmd): checked for non-NULL procPtr
to prevent itcl info override crash [Bug: 4064]
FossilOrigin-Name: 3181b69dcef9103e2f77c900e8717235e778d308
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclCmdIL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c index 32567a9..24f0642 100644 --- a/generic/tclCmdIL.c +++ b/generic/tclCmdIL.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdIL.c,v 1.23 2000/01/26 03:37:40 hobbs Exp $ + * RCS: @(#) $Id: tclCmdIL.c,v 1.24 2000/04/04 08:04:41 hobbs Exp $ */ #include "tclInt.h" @@ -1836,7 +1836,7 @@ InfoVarsCmd(dummy, interp, objc, objv) entryPtr = Tcl_NextHashEntry(&search); } } - } else { + } else if (((Interp *)interp)->varFramePtr->procPtr != NULL) { AppendLocals(interp, listPtr, simplePattern, 1); } |