summaryrefslogtreecommitdiffstats
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
parentcf9cce374ed8d3bc405f998d01d9965d224bc482 (diff)
parent787d71bc6d8d517220c6b301345bf816bcecab2f (diff)
downloadtcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.zip
tcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.tar.gz
tcl-358e59a4d232f4b4eaa0fac600c24a915928aed1.tar.bz2
Bug 3576509: tcl::Bgerror crashes with invalid arguments
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclEvent.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f96a5a..37234bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;