diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-05 13:23:17 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-05 13:23:17 (GMT) |
| commit | cc86f6e11e85d0a01675ec31e3677ad2e63cddc4 (patch) | |
| tree | 212dc286e2cdfc139a1e6fa9d3afc1171b7fb3df /unix/tclUnixInit.c | |
| parent | 697a7c9fe1d9a4b98ef99be75ca7fc75221e7919 (diff) | |
| download | tcl-cc86f6e11e85d0a01675ec31e3677ad2e63cddc4.zip tcl-cc86f6e11e85d0a01675ec31e3677ad2e63cddc4.tar.gz tcl-cc86f6e11e85d0a01675ec31e3677ad2e63cddc4.tar.bz2 | |
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()
Diffstat (limited to 'unix/tclUnixInit.c')
0 files changed, 0 insertions, 0 deletions
