Skip to content
Tcl Source Code Artifact [0527152767]
Login

Artifact [0527152767]

Artifact 05271527673c36023f0e46b5035ec9942865cacec8c25d203839a523f0d8967e:

Ticket change [0527152767] - New ticket [b2816a3afe4b11f5|b2816a3afe] <i>Tcl_NumUtfChars counts wrong at end of malformed string</i>. by dgp on 2020-05-07 18:55:49.
D 2020-05-07T18:55:49.589
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment ====\sutf-4.13\sTcl_NumUtfChars:\send\sof\sstring\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\s\r\n\s\s\s\stestnumutfchars\sfoobar[testbytestring\s\\xF2\\xC2\\xA0]\send\r\n\r\n----\sResult\swas:\r\n9\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n8\r\n====\sutf-4.13\sFAILED\r\n\r\nThe\salgorithm\sin\sTcl_NumUtfChars\scan\sgo\swrong\sonly\swhen\sTCL\s_UTF_MAX\s>\s3\r\nso\sthat\sthere\sis\sroom\sto\smake\scertain\stroubles\spossible.
J foundin TCL_UTF_MAX\s>\s3
J is_private 0
J login dgp
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter dgp
J subsystem 44.\sUTF-8\sStrings
J title Tcl_NumUtfChars\scounts\swrong\sat\send\sof\smalformed\sstring
J type Bug
K b2816a3afe4b11f5644b75e6daff28199031ec95
U dgp
Z 92d2da5c32ce7c1997a438ea491970f7