Overview
| Comment: | create safe interpreter immediately as safe (using new TclCreateInterp internal)... also avoids info disclosure, e. g. access ENV using ::tcl::clock::getenv (TclClockInit() already checks by creating of ::tcl::clock-commands whether interpreter is safe, but TclClockInit() is invoked from Tcl_CreateInterp() before interpreter will be marked as safe); this also allows to optimize creation of safe interpreter later (e. g. by avoid of unneeded create/hide handling of unsafe commands); cherry-picked from 8.6 fix |
|---|---|
| Timelines: | family | ancestors | core-9-0-improve-safe-interp |
| Files: | files | file ages | folders |
| SHA3-256: |
729ed5eee9ce68188149c0a601341d2d |
| User & Date: | sebres on 2026-10-02 13:19:19.326 |
| Other Links: | branch diff | manifest | tags |
References
|
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 | |
Context
|
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 | |
| 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 | |
| 10:56 | tcltest => 1.6.0. Remove unnecessary validation in msgcat check-in: 36c65d460b user: jan.nijtmans tags: core-9-0-branch | |
|
2026-10-01
| ||
| 21:12 | adjusted test (result is better varname here) check-in: 3d297c7a57 user: sebres tags: core-8-6-branch | |
Changes
Modified generic/tclBasic.c
from [4062edc236]
to [c45e8106f9].
[diff]
Modified generic/tclInt.h
from [ff0a90a732]
to [dc47684bf2].
[diff]
Modified generic/tclInterp.c
from [6587c4a308]
to [3d170463f0].
[diff]
Modified tests/clock.test
from [8108c5e4bb]
to [05019d13c3].
[diff]