summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-13 20:29:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-10-13 20:29:09 (GMT)
commit358e59a4d232f4b4eaa0fac600c24a915928aed1 (patch)
tree77485f4e30b4bdc02126d56416b5690ef60a40a6 /generic/tclEvent.c
parentcf9cce374ed8d3bc405f998d01d9965d224bc482 (diff)
parent787d71bc6d8d517220c6b301345bf816bcecab2f (diff)
downloadtcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.zip
tcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.tar.gz
tcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.tar.bz2
Bug 3576509: tcl::Bgerror crashes with invalid arguments
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c2
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;