Skip to content
Tcl Source Code Artifact [566f03af24]
Login

Artifact [566f03af24]

Artifact 566f03af24b23e365bca71da0b176298036a5c2b:

Ticket change [566f03af24] - Closed ticket [1191369fffffffff|1191369fff]: <i>Tcl_LinkVar memory corruption causing crashes</i> plus 5 other changes by msofer on 2005-10-22 22:27:35.
D 2005-10-22T22:27:35
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nThe\sproblem\sis\sthat\sTcl_LinkVar\stries\sto\sset\sthe\svariable\sto\nan\sobj\swith\srefCount\s0.\sIf\sthat\sfails\sdue\sto\sa\strace\s(in\sthe\nexample,\sbecause\sthe\svariable\swas\sread\sonly),\sthe\sobj's\nrefcount\sis\sdecremented\sby\sthe\sSetVar\scode\sbefore\sreturning,\nand\sthe\sobj\sis\sfreed.\sTherefore,\sthe\scode\sin\sTcl_LinkVar\nshould\snot\sdecrRefCount\sagain.\n\nThis\sis\sa\sspecial\sof\s[Bug\s1334947],\swhich\ssupersedes\sit.\n
J login msofer
J mimetype text/plain
J resolution Duplicate
J status Closed
J username msofer
K 1191369fffffffffffffffffffffffffffffffff
U msofer
Z d428f973cf867b5801c5eebbbd486807