: <i>Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytes</i> plus 4 other changes
by
.
D 2020-05-13T18:30:46.557
J icomment Fixed\snow\sin\score-8-6-branch.\sMost\sTcl_UtfToUniChar()\scalls\sin\sthe\score\sare\sreplaced\snow\sby\sTcl_UtdToUCS4(),\sand\sprotection\sby\sTcl_UtfCharComplete()\shas\sbeen\sverified.\sI\sbelieve\sI\sgot\sall\sof\sit\scorrect\snow.\r\n\r\nSo,\schanged\sto\sPending/Fixed.\sPlease\sverify.\r\n\r\nFor\sTCL_UTF_MAX>\s3\sthere\shas\snot\sdecided\syet\show\sTcl_UtfPrev()/Tcl_UtfNext()\sshould\sbehave.\sI\sassumed\sTIP\s#575\sbehavior,\swhich\sis\snot\sapproved\syet\s,\sneither\simplemented\sin\score-8-branch.\sSo,\sthere's\smore\swork\sto\sdo\sfor\s8.7.\sI\ssuggest\sto\skeep\sthe\sbehavior\sfor\sTCL_UTF_MAX>3\sin\score-8-6-branch\sas-is,\sso\swe\shave\sa\sreference\sto\scompare\swith.\sAs\ssoon\sas\sTIP\s#575\sis\saccepted\sand\severything\simplemented\saccordingly\sin\score-8-branch,\sthe\sbehavior\scan\sbe\sbackported\sto\s8.6\swith\sTCL_UTF_MAX>3.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J status Pending
K ed29806bafd93096f71fb55248258138125805a6
U jan.nijtmans
Z b51862d8f67a6d58b25a72637a7c9fe4