Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | remove unexpected panic by TclTrimLeft/TclTrimRight, handling rewritten: - instead of check the NTS-byte after string (may cause segfault by access violation if out of range), it checks now the end-character is well-formed utf8-sequence; - both work well now on non-NTS strings (without null character at end); - additionally fixed wrong offsets (trim-length if last char malformed in case of out of range); new function TclTrim introduced (as combination of TclTrimLeft/TclTrimRight). |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | sebres-8-5-fix-trim-on-mailformed |
| Files: | files | file ages | folders |
| SHA3-256: |
b3969d0fab1963600a55cfd357e05639 |
| User & Date: | sebres 2018-03-13 18:52:45.710 |
References
|
2018-03-13
| ||
| 18:59 | • Ticket [de243b694d] Several trim mechanisms cause segfault / wrong check for NTS... artifact: 3b8e06c0e7 user: sebres | |
Context
|
2018-03-13
| ||
| 23:56 | A few minor revisions. closed check-in: d8df7220e3 user: dgp tags: sebres-8-5-fix-trim-on-mailformed | |
| 18:52 | remove unexpected panic by TclTrimLeft/TclTrimRight, handling rewritten: - instead of check the NTS-... check-in: b3969d0fab user: sebres tags: sebres-8-5-fix-trim-on-mailformed | |
|
2018-03-05
| ||
| 17:37 | fixes [1873ea0ee4f01b26]: wrong initialization of std-channels, if no std-handles available at all (... check-in: 041bc74867 user: sebres tags: core-8-5-branch | |
Changes
Changes to generic/tclCmdMZ.c.
Changes to generic/tclInt.h.
Changes to generic/tclUtil.c.
