Skip to content
Tcl Source Code Artifact [8208078e07]
Login

Artifact [8208078e07]

Artifact 8208078e0724c90f4f4f018267ee9189b56dd99331fa126f54349b4cf9f9f323:

Ticket change [8208078e07] - Ticket [4f6a1ebd64cffa3e|4f6a1ebd64] <i>ensemble: segmentation fault when -subcommand and -map values are the same object</i> status still Pending with 3 other changes by dgp on 2017-11-30 18:18:57.
D 2017-11-30T18:18:57.736
J icomment \r\nI\sprefer\sthe\sfix\sin\s[d3ba3a9f51]\s.\sIt\sdirectly\saddresses\sthe\sneed\sto\sprotect\sthe\spointer\sreturned\sby\sTcl_ListObjGetElements()\sand\sthus\sdirectly\ssolves\sthe\sproblem\sinstead\sof\shandling\sone\sparticular\sset\sof\scircumstances\sknown\sto\scause\sthe\sproblem.\s\sAnd\sit's\ssmaller.\r\n\r\nIt\sdoes\screate\sand\sdestroy\sone\sadditional\sTcl_Obj,\sbut\sthat's\sbeen\sengineered\sto\sbe\sefficient\salready,\sand\sTclListObjCopy()\sonly\spays\sa\slarge\scopying\scost\swhen\sit\sneeds\sto,\swhich\sis\salmost\snever,\sonly\sfor\sbug\sconditions\slike\sthis.
J login dgp
J mimetype text/plain
K 4f6a1ebd64cffa3ef795d83cb15d92c40cfb12bd
U dgp
Z d6a2d064c5e86b75c4ea94662418ecdb