Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix [9dfae3413d]: interp limit commands still seems to be 32 bits |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | bug-9dfae3413d |
Files: | files | file ages | folders |
SHA3-256: |
17482fa361a35703d6d7553c51b9e02d |
User & Date: | jan.nijtmans 2025-06-26 07:59:27.755 |
Context
2025-06-26
| ||
08:03 | Fix Tcl_LimitGetCommands() signature (int -> Tcl_Size) Leaf check-in: e5372efeee user: jan.nijtmans tags: bug-9dfae3413d | |
07:59 | Fix [9dfae3413d]: interp limit commands still seems to be 32 bits check-in: 17482fa361 user: jan.nijtmans tags: bug-9dfae3413d | |
2025-06-25
| ||
16:23 | Fix [7c2716733a] - use after free on Windows pipe handles check-in: a9351d85f3 user: apnadkarni tags: core-9-0-branch | |
Changes
Changes to generic/tclInterp.c.
︙ | ︙ | |||
4538 4539 4540 4541 4542 4543 4544 | return TCL_OK; } else if ((objc-consumedObjc) & 1 /* isOdd(objc-consumedObjc) */) { Tcl_WrongNumArgs(interp, consumedObjc, objv, "?-option value ...?"); return TCL_ERROR; } else { Tcl_Size i, scriptLen = 0, limitLen = 0; Tcl_Obj *scriptObj = NULL, *granObj = NULL, *limitObj = NULL; | | > | 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 | return TCL_OK; } else if ((objc-consumedObjc) & 1 /* isOdd(objc-consumedObjc) */) { Tcl_WrongNumArgs(interp, consumedObjc, objv, "?-option value ...?"); return TCL_ERROR; } else { Tcl_Size i, scriptLen = 0, limitLen = 0; Tcl_Obj *scriptObj = NULL, *granObj = NULL, *limitObj = NULL; int gran = 0; Tcl_Size limit = 0; for (i=consumedObjc ; i<objc ; i+=2) { if (Tcl_GetIndexFromObj(interp, objv[i], options, "option", 0, &index) != TCL_OK) { return TCL_ERROR; } switch (index) { |
︙ | ︙ | |||
4569 4570 4571 4572 4573 4574 4575 | break; case OPT_VAL: limitObj = objv[i+1]; (void) TclGetStringFromObj(objv[i+1], &limitLen); if (limitLen == 0) { break; } | | | 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 | break; case OPT_VAL: limitObj = objv[i+1]; (void) TclGetStringFromObj(objv[i+1], &limitLen); if (limitLen == 0) { break; } if (Tcl_GetSizeIntFromObj(interp, objv[i+1], &limit) != TCL_OK) { return TCL_ERROR; } if (limit < 0) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "command limit value must be at least 0", -1)); Tcl_SetErrorCode(interp, "TCL", "OPERATION", "INTERP", "BADVALUE", (char *)NULL); |
︙ | ︙ |