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) |
|---|---|
| Timelines: | family | ancestors | descendants | both | core-8-6-branch |
| Files: | files | file ages | folders |
| SHA3-256: |
940c0e06e124e0c0169c3cbedf0c7d4a |
| User & Date: | sebres on 2026-10-01 20:48:44.333 |
| Other Links: | branch diff | manifest | tags |
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-01
| ||
| 21:12 | adjusted test (result is better varname here) check-in: 3d297c7a57 user: sebres tags: core-8-6-branch | |
| 20:48 | create safe interpreter immediately as safe (using new TclCreateInterp internal)... also avoids info... check-in: 940c0e06e1 user: sebres tags: core-8-6-branch | |
| 20:29 | amend to the fix for bad locale: normalizes the code for [mclocale] too, as noticed by Jan (so we'll... check-in: 964e87e668 user: sebres tags: core-8-6-branch | |
Changes
Modified generic/tclBasic.c
from [5b5f3cd930]
to [9d8019f78b].
[diff]
Modified generic/tclInt.h
from [3ff20c8d6e]
to [8b77bcfb38].
[diff]
Modified generic/tclInterp.c
from [bfe1dce43f]
to [5621a1c79b].
[diff]
Modified tests/clock.test
from [4e47917d2b]
to [fa94f07258].
[diff]