diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-05 13:55:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-05 13:55:00 (GMT) |
commit | 8dac135fc9c8efae2cc3113bc975ab871ff2271f (patch) | |
tree | a036d4acb69bc769ac6538fc9b57f9f09cd8e3a6 /generic/tclExecute.c | |
parent | d84492f3906d20d05b547a4fa90286fe0a59bb37 (diff) | |
download | tcl-8dac135fc9c8efae2cc3113bc975ab871ff2271f.zip tcl-8dac135fc9c8efae2cc3113bc975ab871ff2271f.tar.gz tcl-8dac135fc9c8efae2cc3113bc975ab871ff2271f.tar.bz2 |
Allow additional optional "interp" argument for testinterpresolver command. Not used yet in any test-case.
Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch).
Eliminate some unecessary spacing.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index e539161..34d92d3 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -3173,7 +3173,7 @@ TEBCresume( Tcl_Obj *copyPtr = Tcl_NewListObj(objc - opnd + 1, NULL); Tcl_ListObjAppendElement(NULL, copyPtr, objPtr); - Tcl_ListObjReplace(NULL, copyPtr, LIST_MAX, 0, + Tcl_ListObjReplace(NULL, copyPtr, LIST_MAX, 0, objc - opnd, objv + opnd); Tcl_DecrRefCount(objPtr); objPtr = copyPtr; |