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: |
5f2bb912cf81f7230373f801c26c2a9f |
| 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
Modified generic/tclEncoding.c
from [dcfa095f37]
to [179a63da66].
[diff]
Modified generic/tclInt.h
from [5f79be842d]
to [ddcb4717a7].
[diff]
Modified generic/tclUtf.c
from [6f43f892c5]
to [f5fdfb6efc].
[diff]