Skip to content
Tcl Source Code Artifact [a65c5de9da]
Login

Artifact [a65c5de9da]

Artifact a65c5de9da2f6c0cd1b2e3c86cba51502fbff8cb800c48bd008d12d9ee72a55b:

Ticket change [a65c5de9da] - Ticket [2577420fffffffff|2577420fff] <i>Tcl_GetInterpPath produces invalid path.</i> status still Open with 4 other changes by serhiy.storchaka on 2026-10-17 08:39:47.
D 2026-10-17T08:39:47.586
J foundin 9.0.5,\s9.1.0
J icomment Still\sa\suse-after-free\sin\s9.0\sand\s9.1\s(ASan):\sthe\schild's\sentry\sin\sthe\sparent's\schild\stable\sis\sremoved\sbefore\sthe\schild's\sTcl_CallWhenDeleted()\scallbacks\srun,\sand\sthe\sInterpInfo\smay\sbe\sfreed\sbefore\sthem\stoo,\sbecause\sit\sis\sfreed\sby\sanother\sdelete\scallback.\s8.6\sand\s9.0\sprint\sthe\sright\spath\sonly\sbecause\sthe\sfreed\smemory\sstill\sholds\sit.\nProposed\sfix\sin\sbranch\s[/timeline?r=interp-delete-callbacks-path|interp-delete-callbacks-path]:\sunlink\safter\sTcl_DeleteInterp(),\sand\sfree\sthe\sInterpInfo\safter\sall\sdelete\scallbacks.\sNo\stest,\ssince\sno\sscript\scommand\scan\sregister\ssuch\sa\scallback.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 2577420fffffffffffffffffffffffffffffffff
U serhiy.storchaka
Z 3c865efc4b1dde4f0781589f9de4e255