Overview
| Artifact ID: | 1859d8df40b2ba15a03ba5142397ae25a98eed788616fea307031a77239fbf2e |
|---|---|
| Ticket: | 31aa44375de2c87ecb1361b15ca0102d831ad155
Tcl_NumUtfChars regression in default 8.6 build |
| User & Date: | dgp on 2020-04-03 22:02:17 |
Changes
- icomment:
Note that in the default TCL_UTF_MAX = 3 build, Tcl_UtfCharComplete is only demanding 3 bytes when it sees what should be a lead byte for a 4-byte sequence. Looks like the consequence is that it is happy knowing 3 bytes are available, then a call to Tcl_UtfToUniChar actually reads 4 bytes, overrunning the buffer. At a minimum these two routines have to be in agreement with each other. This part of the problem may go back farther than the regression.
- login: "dgp"
- mimetype: "text/plain"