Tcl Source Code

Check-in [a94e95399a]
Login

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

Overview
Comment:move creation of clock ensemble to Tcl_Init() (avoids info disclosure, e. g. access ENV using ::tcl::clock::getenv); revert [2316f673af007e23]; cherry-pick test from [729ed5eee9ce6818]
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | core-9-0-branch
Files: files | file ages | folders
SHA3-256: a94e95399a7e079d074ef0ded41e1b6bdabd6fbac2e85875ea64ad1ce74c7444
User & Date: sebres 2026-10-02 18:20:20.798
References
2026-11-05
14:33 • New ticket [813699148d] Heap out-of-bounds read and NULL dereference in `clock` ... artifact: 8a1e1f5698 user: bef
Context
2026-10-07
11:06
Fix [0cb3554903] (again): macOS 13 SDK deprecates sprintf() check-in: 6561f34fe3 user: jan.nijtmans tags: core-9-0-branch
2026-10-02
18:20
move creation of clock ensemble to Tcl_Init() (avoids info disclosure, e. g. access ENV using ::tcl:... check-in: a94e95399a user: sebres tags: core-9-0-branch
17:11
amend after merge of uuencode-fix from 8.6: INT_MAX => TCL_SIZE_MAX, test constraints (32-bits only)... check-in: 0794422d0e user: sebres tags: core-9-0-branch
15:27
Restrict ::tcl::clock::getenv for retrieving TZ and TCL_TZ only check-in: 2316f673af user: jan.nijtmans tags: core-9-0-branch
13:19
create safe interpreter immediately as safe (using new TclCreateInterp internal)... also avoids inf... leaf check-in: 729ed5eee9 user: sebres tags: core-9-0-improve-safe-interp
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclBasic.c.
Changes to generic/tclClock.c.
Changes to generic/tclInterp.c.
Changes to tests/clock.test.