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 /generic | |
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
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclEvent.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |