<i>Tcl_UtfPrev does not account for rejecting overlong sequences</i> status still Open with 3 other changes
by
.
D 2020-04-15T19:06:24.695
J icomment I'm\sguilty\sas\scharged\s....\s\s:-).\s\s\s\sThis\sbehavior\sis\sbackported\sfrom\s8.7,\sand\s-\ssince\sthis\shandles\san\sinvalid\sbyte\ssequence\s-\sit\scan\sonly\sbe\striggered\sby\scarefully\scrafted\snative\scode,\snot\sfrom\sa\spure\sTcl\sscript.\r\n\r\nThat\ssaid,\sTcl_UtfPrev()\sand\sTcl_UtfNext()\sdon't\sbehave\swell\sin\sall\ssituations,\smainly\swhen\sinvalid\sbyte-sequences\sare\sinvolved.\sYou\sare\sshowing\sthat\swith\sa\slot\sof\stest-cases.\sThat's\sgreat,\sand\ssomething\sI\sappreciate\syou\sare\sdoing.\r\n\r\nDoes\sthe\s[bug-31aa44375d]\sbranch\ssolve\sthis\sfor\syou?\s\sI\sthink\snot\sfor\s100%,\sbecause\ssome\sof\sthe\sfixes\syou\sdid\sin\sa\sbranch\sderived\sfrom\s8.5\sare\snot\sported\sforward\syet.\sSince\sTcl\s8.6.7\sis\s2\s1/2\syears\sold,\sand\sno-one\sfiled\sa\sbug-report\son\sthis,\sI\sdon't\sunderstand\syour\s"Important",\sbut\sso\sbe\sit.\r\n\r\nIf\syou\sare\ssatisfied\swith\sthe\s[bug-31aa44375d]\sbranch,\sthen\sfeel\sfree\sto\smerge\sit\sto\score-8-6-branch.\sI\swon't\sresist.\sSince\sI\sdidn't\sfile\sa\sTIP\sfor\s8.6,\sI\sdon't\shave\senough\sground\sbelow\sme\sto\sstand\son.
J login jan.nijtmans
J mimetype text/plain
K 5e6346a252a3e52f764f6a58e7c52cfc72b4a061
U jan.nijtmans
Z 54fd4cbb0b7d4ff293ed1a7e68577edd