Overview
| Artifact ID: | d5cc95398cd358ed3edc524e1de255fa0f72929f5e50633a0fd4129334a49f5e |
|---|---|
| Ticket: | ed29806bafd93096f71fb55248258138125805a6
Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytes |
| User & Date: | jan.nijtmans on 2020-05-13 18:30:46 |
Changes
- icomment:
Fixed now in core-8-6-branch. Most Tcl_UtfToUniChar() calls in the core are replaced now by Tcl_UtdToUCS4(), and protection by Tcl_UtfCharComplete() has been verified. I believe I got all of it correct now. So, changed to Pending/Fixed. Please verify. For TCL_UTF_MAX> 3 there has not decided yet how Tcl_UtfPrev()/Tcl_UtfNext() should behave. I assumed TIP #575 behavior, which is not approved yet , neither implemented in core-8-branch. So, there's more work to do for 8.7. I suggest to keep the behavior for TCL_UTF_MAX>3 in core-8-6-branch as-is, so we have a reference to compare with. As soon as TIP #575 is accepted and everything implemented accordingly in core-8-branch, the behavior can be backported to 8.6 with TCL_UTF_MAX>3.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"