diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-10-13 20:29:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-10-13 20:29:09 (GMT) |
commit | 358e59a4d232f4b4eaa0fac600c24a915928aed1 (patch) | |
tree | 77485f4e30b4bdc02126d56416b5690ef60a40a6 | |
parent | cf9cce374ed8d3bc405f998d01d9965d224bc482 (diff) | |
parent | 787d71bc6d8d517220c6b301345bf816bcecab2f (diff) | |
download | tcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.zip tcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.tar.gz tcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.tar.bz2 |
Bug 3576509: tcl::Bgerror crashes with invalid arguments
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclEvent.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2012-10-13 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/tclEvent.c: [Bug 3576509]: tcl::Bgerror crashes with invalid + arguments + 2012-10-06 Jan Nijtmans <nijtmans@users.sf.net> * win/Makefile.in: [Bug 2459774] win/tcl/Makefile.in diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 0b585b6..0e15f71 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -312,7 +312,7 @@ TclDefaultBgErrorHandlerObjCmd( int objc, /* Number of arguments. */ Tcl_Obj *const objv[]) /* Argument objects. */ { - Tcl_Obj *keyPtr, *valuePtr; + Tcl_Obj *keyPtr, *valuePtr = NULL; Tcl_Obj *tempObjv[2]; int code, level; Tcl_InterpState saved; |