Skip to content
Tcl Source Code Artifact [08585ee3f2]
Login

Artifact [08585ee3f2]

Artifact 08585ee3f2e1c5fc64dba285197b15ac705a1bf2:

Ticket change [08585ee3f2] - Ticket [2494093fffffffff|2494093fff] <i>buffer overflow in AppendUnicodeToUnicode() -&gt; SEGFAULT</i> status still Open with 4 other changes by matzek on 2009-03-05 17:42:15.
D 2009-03-05T17:42:15
J icomment Ok,\sused\syour\stest\sscript\sand\sobserved\sno\shard\scrashes,\sbut\sthree\sdifferent\sbehaviors:\n\n1)\sif\snot\senough\smemory\savailable\sto\sexecute\sthe\s[string\srepeat]\sline\sit\scomes\sback\swith\sa\sTcl\serror:\n\nstring\ssize\soverflow,\sout\sof\smemory\sallocating\s2147481649\sbytes\n\s\s\s\swhile\sexecuting\n"string\srepeat\sa\s[expr\s(1<<31)-2000]"\n\s\s\s\s(procedure\s"grill"\sline\s2)\n\s\s\s\sinvoked\sfrom\swithin\n"grill"\n\s\s\s\s(file\s"/RDS/COMPSHARE/home//makr/crashtest.tcl"\sline\s55)\n\n2)\sotherwise\sit\saborts\sin\sthe\sappend\sline:\n\nmax\slength\sfor\sa\sTcl\sunicode\svalue\s(2147483637\schars)\sexceeded\nAbort\n\n3)\son\sSolaris\sit\saborts\swith:\n\nunable\sto\salloc\s2147481651\sbytes\n\nI\sam\snot\ssure\swhy\sSolaris\sis\sbehaving\sstrange\sagain\sand\sI\sdon't\shave\stime\scurrently\sto\sinvestigate...\n\n--\sMatthias\sKraft\n
J login matzek
J mimetype text/plain
J username matzek
K 2494093fffffffffffffffffffffffffffffffff
U matzek
Z e517b648610e1f56b4aceb0a7f8ab4ea