<i>memory corruption with trace + transchan</i> status still Open with 4 other changes
by
.
D 2026-10-17T08:23:03.123
J foundin 8.6.18,\s9.0.5,\s9.1.0
J icomment Reproduced\son\smain\sand\s8.6\s(heap-use-after-free\sunder\sASan;\s9.0\shas\sthe\ssame\scode):\sInvokeTclMethod()\sin\stclIORTrans.c\sfills\sthe\scommand\swords\spreallocated\sfor\sthe\stransform,\sso\swhen\sthe\shandler\sre-enters\sthe\ssame\stransform\s(here\sthe\strace's\s<nowiki>[puts]</nowiki>),\sthe\snested\scall\soverwrites\sand\sfrees\sthe\swords\sof\sthe\souter\scall\sthat\sis\sstill\srunning.\nProposed\sfix\sin\sbranch\s[/timeline?r=iortrans-reentrant-argv|iortrans-reentrant-argv]:\scopy\sthe\swords\sfor\seach\scall.\sTest\siortrans-bug-0ef291c1c2.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 0ef291c1c287e325a8e5d17c1390e5a733c12fc9
U serhiy.storchaka
Z fec303192bab1ed1375591edf0f2d8a1