Tcl Source Code

Check-in [69cd13225a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make all internal small buffer related to Tcl_UtfBackslash() length 4, not TCL_UTF_MAX: For TCL_UTF_MAX=6 it was overkill, for TCL_UTF_MAX=3 not enough. Prove that this works by adding a Travis CI build configuration using TCL_UTF_MAX=3
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | core-8-branch
Files: files | file ages | folders
SHA3-256: 69cd13225ad8551edc8341a0d466e55bf5e1df029f72ba23536beb9941ddc6ea
User & Date: jan.nijtmans 2019-03-24 13:02:45.982
Context
2019-03-24
16:50
Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 byte sequence, account fo... check-in: 9c09af3627 user: jan.nijtmans tags: core-8-branch
13:09
Merge 8.7 check-in: 8a8d3135b0 user: jan.nijtmans tags: trunk
13:05
Merge 8.7 check-in: 15927b5ba6 user: jan.nijtmans tags: utf-max
13:02
Make all internal small buffer related to Tcl_UtfBackslash() length 4, not TCL_UTF_MAX: For TCL_UTF_... check-in: 69cd13225a user: jan.nijtmans tags: core-8-branch
2019-03-22
20:44
Add some test-cases with longer backslash sequences, to test for internal buffer overflows. check-in: 0a318e4eb4 user: jan.nijtmans tags: core-8-branch
Changes
Unified Diff Side-by-Side Diff Patch
Changes to .travis.yml.
Changes to generic/tclCompCmdsSZ.c.
Changes to generic/tclCompExpr.c.
Changes to generic/tclCompile.c.
Changes to generic/tclParse.c.
Changes to generic/tclUtil.c.