Tcl Source Code

Check-in [8250ea2509]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Bug 3576509: tcl::Bgerror crashes with invalid arguments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: 8250ea2509d9bc360c32ed87d4ab0e5a5f6126a9
User & Date: jan.nijtmans 2012-10-13 20:26:00
Context
2012-10-14
19:00
Bug 357650: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's source code. check-in: 4f28137715 user: jan.nijtmans tags: core-8-5-branch
2012-10-13
20:29
Bug 3576509: tcl::Bgerror crashes with invalid arguments check-in: 70a5908228 user: jan.nijtmans tags: trunk
20:26
Bug 3576509: tcl::Bgerror crashes with invalid arguments check-in: 8250ea2509 user: jan.nijtmans tags: core-8-5-branch
2012-10-03
15:29
When checking for std channels being closed, compare the channel state, not the channel itself so th... check-in: 00425ee7d7 user: dgp tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7





2012-10-03  Don Porter  <[email protected]>

	* generic/tclIO.c:	When checking for std channels being closed,
	compare the channel state, not the channel itself so that stacked
	channels do not cause trouble.

2012-09-07  Harald Oehlmann  <[email protected]>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
2012-10-13  Jan Nijtmans  <[email protected]>

	* generic/tclEvent.c: [Bug 3576509]: tcl::Bgerror crashes with invalid
	arguments

2012-10-03  Don Porter  <[email protected]>

	* generic/tclIO.c:	When checking for std channels being closed,
	compare the channel state, not the channel itself so that stacked
	channels do not cause trouble.

2012-09-07  Harald Oehlmann  <[email protected]>

Changes to generic/tclEvent.c.

305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
int
TclDefaultBgErrorHandlerObjCmd(
    ClientData dummy,		/* Not used. */
    Tcl_Interp *interp,		/* Current interpreter. */
    int objc,			/* Number of arguments. */
    Tcl_Obj *CONST objv[])	/* Argument objects. */
{
    Tcl_Obj *keyPtr, *valuePtr;
    Tcl_Obj *tempObjv[2];
    int code, level;
    Tcl_InterpState saved;

    if (objc != 3) {
	Tcl_WrongNumArgs(interp, 1, objv, "msg options");
	return TCL_ERROR;







|







305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
int
TclDefaultBgErrorHandlerObjCmd(
    ClientData dummy,		/* Not used. */
    Tcl_Interp *interp,		/* Current interpreter. */
    int objc,			/* Number of arguments. */
    Tcl_Obj *CONST objv[])	/* Argument objects. */
{
    Tcl_Obj *keyPtr, *valuePtr = NULL;
    Tcl_Obj *tempObjv[2];
    int code, level;
    Tcl_InterpState saved;

    if (objc != 3) {
	Tcl_WrongNumArgs(interp, 1, objv, "msg options");
	return TCL_ERROR;