Skip to content
Tcl Source Code Check-in [5f2bb912cf]
Login

Check-in [5f2bb912cf]

Overview
Comment:Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytes. Tcl_UtfToUniChar() now never reads more than TCL_UTF_MAX bytes any more. The UtfToUtf encoder/decoder is adapted to do attitional checks (more tricky than in Tcl 8.7, since we want compatibility with earlier 8.6 releases). Other callers of Tcl_UtfToUniChar() needs to be revised for the same problem. Most callers will need to change Tcl_UtfToUniChar() -> TclUtfToUCS4() and Tcl_UtfCharComplete() -> TclUCS4Complete(), but that's not done yet.
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: 5f2bb912cf81f7230373f801c26c2a9f3c5557067c4eed309fedfb5ca7a6c590
User & Date: jan.nijtmans on 2020-05-01 13:38:22.810
Other Links: branch diff | manifest | tags
Context
2020-05-02
22:48
Join test-cases utf-6.93.0 and utf-6.93.1, which MUST give the same answer always for whatever testC... check-in: e145652a1f user: jan.nijtmans tags: core-8-6-branch
10:15
More fixes for [ed29806baf]. Not working yet. WIP check-in: f670d1a41f user: jan.nijtmans tags: bug-ed29806baf-8.6
2020-05-01
15:29
Rebase to core-8-6-branch (I don't think it's solved yet, but let's see) leaf check-in: 04631bfc72 user: jan.nijtmans tags: bug-ed29806baf
14:20
Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytes. Tcl_UtfToUniCha... check-in: 1d9487bc7e user: jan.nijtmans tags: core-8-branch
13:38
Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytes. Tcl_UtfToUniChar... check-in: 5f2bb912cf user: jan.nijtmans tags: core-8-6-branch
08:51
Fix [ed29806baf] by introducing TclUCS4Complete(). All other calls of Tcl_UtfToUniChar() are suspici... check-in: fb85042c66 user: jan.nijtmans tags: bug-ed29806baf-8.7
2020-04-30
20:57
merge 8.5 check-in: e8ee7dfb40 user: dgp tags: core-8-6-branch
Changes