Skip to content
Tcl Source Code Artifact [384a847b57]
Login

Artifact [384a847b57]

Artifact 384a847b57046a619cbc6963db835700b496b6e1:

Ticket change [384a847b57] - New ticket [3091701fffffffff|3091701fff] <i>TclAppendBytesToByteArray infinite loop</i>. by andygoth on 2010-10-21 02:45:41.
D 2010-10-21T02:45:41
J assignee dkf
J cmimetype text/plain
J comment attempt\s=\sbyteArrayPtr->allocated;\ndo\s{\n\s\s\s\sattempt\s*=\s2;\n}\swhile\s(attempt\s<\sused+len);\n\nThis\scode\sin\sTclAppendBytesToByteArray\sloops\sforever\swhen\sbyteArrayPtr->allocated\sis\sinitially\szero.\s\sThis\sexplains\sthe\slock-up\sdzach\sreported\son\shttp://wiki.tcl.tk/23626\s.\s\sI\shave\sreproduced\sthe\sproblem\sand\sused\sgdb\sto\strack\sit\sdown\sto\sthese\sfew\slines.\s\sThe\sprocedure\sis\sas\sdzach\ssaid\son\sthe\sWiki\s(POST\sfrom\sMSIE8),\sand\shis\s"set\schunk\s{}"\sworkaround\salso\sworks\sfor\sme.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter andygoth
J subsystem 12.\sByteArray\sObject
J title TclAppendBytesToByteArray\sinfinite\sloop
J type Bug
K 3091701fffffffffffffffffffffffffffffffff
U andygoth
Z 1d16172beb14b353eba056b8dcfd4992