diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-10-13 20:26:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-10-13 20:26:00 (GMT) |
commit | e4c33dab06a4fff34689163ab9bc606ec89bb3ba (patch) | |
tree | 85e35e9a031fa5a5828865223ad78878537d966e | |
parent | 970b7acdfa04e64e4b50d6151b81c09e5a91c41a (diff) | |
download | tcl-e4c33dab06a4fff34689163ab9bc606ec89bb3ba.zip tcl-e4c33dab06a4fff34689163ab9bc606ec89bb3ba.tar.gz tcl-e4c33dab06a4fff34689163ab9bc606ec89bb3ba.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-03 Don Porter <dgp@users.sourceforge.net> * generic/tclIO.c: When checking for std channels being closed, diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 7daa7bb..1d72a0a 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -309,7 +309,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; |