Manifest of check-in
[424917fbce]
- Fix [c35e347c6f]: concurrent Tcl_Init() calls could crash in setlocale() (double free on OpenBSD): Tcl_GetEncodingNameFromEnvironment() called setlocale() and nl_langinfo() without synchronization. Hold the initialization lock while doing that and copying the codeset. Patch by Gustaf Neumann.
by
serhiy.storchaka on
2026-10-13 19:25:44.
B 9a3e24fe8a62c7dbeb54d08cf64f51e344014c0866c43dfa8f124a0ad5eb5125
C Fix\s[c35e347c6f]:\sconcurrent\sTcl_Init()\scalls\scould\scrash\sin\ssetlocale()\s(double\sfree\son\sOpenBSD):\sTcl_GetEncodingNameFromEnvironment()\scalled\ssetlocale()\sand\snl_langinfo()\swithout\ssynchronization.\sHold\sthe\sinitialization\slock\swhile\sdoing\sthat\sand\scopying\sthe\scodeset.\sPatch\sby\sGustaf\sNeumann.
D 2026-10-13T19:25:44.975
F unix/tclUnixInit.c 524cd727f8b63ebb88875be7acbe313e89fa6f997c392389b4027c01469be845
P 9a3e24fe8a62c7dbeb54d08cf64f51e344014c0866c43dfa8f124a0ad5eb5125
R 18317c6bd0062c7ce3b465fecc2bf800
T *branch * unix-locale-init-lock
T *sym-unix-locale-init-lock *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 8af4e8cb9e4d44ea091c6993d7265ad9