Skip to content
Tcl Source Code Check-in [50e98246d7]
Login

Check-in [50e98246d7]

Overview
Comment:Add 4 test-cases that could fool Tcl_UtfPrev (but ... actually they don't). Make sure that Tcl_UtfPrev() never reads more than 3 trail bytes (or 4 when TCL_UTF_MAX > 4). Those are the same limits as for Tcl_UtfNext() and Tcl_UtfToUniChar()
Timelines: family | ancestors | descendants | both | bug-ed29806baf-8.6
Files: files | file ages | folders
SHA3-256: 50e98246d742b88d283a979bb1932f78d61a6b150111cc87892723cda67e0257
User & Date: jan.nijtmans on 2020-05-05 13:23:17.488
Other Links: branch diff | manifest | tags
Context
2020-05-07
13:37
Merge 8.6. Some more tweaks to Tcl_UtfPrev(), so it cannot jump back 4 bytes in "utf16" build any mo... check-in: 6f4bdb20da user: jan.nijtmans tags: bug-ed29806baf-8.6
2020-05-05
13:23
Add 4 test-cases that could fool Tcl_UtfPrev (but ... actually they don't). Make sure that Tcl_UtfPr... check-in: 50e98246d7 user: jan.nijtmans tags: bug-ed29806baf-8.6
10:06
Merge 8.6 check-in: 5d3edce6f4 user: jan.nijtmans tags: bug-ed29806baf-8.6
Changes