Tcl Source Code

Check-in [0d48bb289c]
Login

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

Overview
Comment:fixes [61c01e0edb08a9ed] (TclpMatchInDirectory, windows only), increment ref-count to avoid use-after-free for interim normalized path object, what may cause crash (SF/BO), usage of wrong path, etc.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA3-256: 0d48bb289c1b9e0aea4e9631547915d75be61580e44e30f83f9dbebe9fb99e31
User & Date: sebres 2025-07-18 17:20:51.572
References
2026-10-14
13:44 • Pending ticket [24949cbd7c]: Many functions of tclPathObj are not thread safe (c... artifact: b6366eefd6 user: serhiy.storchaka
2025-07-18
17:53 • Closed ticket [61c01e0edb]: likely race condition with package require in severa... artifact: e3976a26d3 user: sebres
Context
2025-07-21
18:21
amend to [61c01e0edb08a9ed], more cases for increment ref-count with use-after-free prevention for i... check-in: 4aae9497e4 user: sebres tags: core-8-5-branch
2025-07-18
17:29
merge 8.5 to 8.6: fixes [61c01e0edb08a9ed] (TclpMatchInDirectory, windows only), increment ref-count... check-in: 9d1d0c58ba user: sebres tags: core-8-6-branch
17:20
fixes [61c01e0edb08a9ed] (TclpMatchInDirectory, windows only), increment ref-count to avoid use-afte... check-in: 0d48bb289c user: sebres tags: core-8-5-branch
2025-03-07
09:58
cmdMZ.test: improve stability of timerate test for quadratic complexity (increase factor for check),... check-in: d891b00146 user: sebres tags: core-8-5-branch
Changes
Unified Diff Side-by-Side Diff Patch
Changes to win/tclWinFile.c.