Tcl Source Code

Artifact [59156f2f06]
Login

Artifact 59156f2f06e356657cf6eba8eeb00feb0e3b226e:

Ticket change [59156f2f06] - Ticket [82e7f67325] SIGSEGV due to [string replace] status still Open with 3 other changes by anonymous 2014-04-30 01:11:06.
D 2014-04-30T01:11:06.688
J icomment apply\s{{}\s{\r\n\s\sset\sa\s[join\s{a\sb}\s{}]\r\n\s\sputs\s[string\slength\s[string\sreplace\s___!\s0\s2\s$a]]\s\s;#\sdoesn't\scrash\r\n\s\sputs\s[string\slength\s[string\sreplace\s___!\s0\s2\s$a[unset\sa]]]\s\s;#\scrashes\r\n}}\r\n\r\nit\slooks\slike\sit\scan\shappen\swhen\sthe\sreplacement\sis\sunshared\s(suggesting\sit's\strying\sto\sedit\sin\splace?)\r\n\r\npossible\scause\sat\stclExecute.c:5705\s-\sthe\sonly\sway\sinto\sthat\sblock\sis\swhen\svalue3Ptr\sis\sunshared,\sthen\sit's\sused\sas\sthe\sresult,\sand\sthe\srefcount\sis\ssubsequently\sdecremented,\sand\sthe\sresult\sobj\sgets\sfreed.
J login anonymous
J mimetype text/plain
K 82e7f673254fd008222f542bde322a0ebb856e3d
U anonymous
Z a24df60b414c963444ca19684fd9908d