From 14f6b32610b27825a293f10d6f449649f5109237 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Mon, 13 Oct 2008 22:05:59 +0000 Subject: set array of Tcl_Obj's to the right size. --- ChangeLog | 4 ++++ generic/tclTest.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5ba5dcd..858ad7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-13 Pat Thoyts + + * generic/tclTest.c (TestNRELevels): set array to the right size + 2008-10-13 Donal K. Fellows * generic/tclOOInfo.c (InfoClassDestrCmd): Handle error case. diff --git a/generic/tclTest.c b/generic/tclTest.c index 76252eb..74d255e 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.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: tclTest.c,v 1.126 2008/10/05 22:25:35 nijtmans Exp $ + * RCS: @(#) $Id: tclTest.c,v 1.127 2008/10/13 22:05:59 patthoyts Exp $ */ #define TCL_TEST @@ -6550,7 +6550,7 @@ TestNRELevels( Interp *iPtr = (Interp *) interp; static ptrdiff_t *refDepth = NULL; ptrdiff_t depth; - Tcl_Obj *levels[5]; + Tcl_Obj *levels[6]; int i = 0; TEOV_callback *cbPtr = ((Interp *) interp)->execEnvPtr->callbackPtr; -- cgit v0.12