diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-10-13 20:29:09 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-10-13 20:29:09 (GMT) |
commit | 949ecefd0a30b13c061f125dea2f71941dd2480e (patch) | |
tree | 77485f4e30b4bdc02126d56416b5690ef60a40a6 /generic/tclEvent.c | |
parent | 3df99b7a9f12da0e6558523c1be33b84bd10b8e9 (diff) | |
parent | 584fecd0fe2844e2392c93585f762604d527e063 (diff) | |
download | tcl-949ecefd0a30b13c061f125dea2f71941dd2480e.zip tcl-949ecefd0a30b13c061f125dea2f71941dd2480e.tar.gz tcl-949ecefd0a30b13c061f125dea2f71941dd2480e.tar.bz2 |
Bug 3576509: tcl::Bgerror crashes with invalid arguments
FossilOrigin-Name: 70a590822811229827aa783f496c1ee998e0f878
Diffstat (limited to 'generic/tclEvent.c')
-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; |