2026-10-02 13:19:19
— part of check-in
[729ed5eee9]
on branch core-9-0-improve-safe-interp
— 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
(user:
sebres,
size: 282701)
[annotate]
[blame][check-ins using]
2026-10-02 13:19:19
— part of check-in
[729ed5eee9]
on branch core-9-0-improve-safe-interp
— 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
(user:
sebres,
size: 282701)
[annotate]
[blame][check-ins using]