Artifact 312f6e9223a277705be9e2394be32d04663e9d2ed1da32dd6a208998a69e2496:
- File
generic/tclCompExpr.c
- 2020-04-14 21:16:43 — part of check-in [d0cc6cdb7f] on branch dgp-utf-next — Replace calls of TclUtfToUniChar() with TclUtfNext() when caller has no decoding need. Failing test string-22.14 indicates something is still not quite right. Now that Tcl_NumUtfChars() is not paying decoding prices, we let it spend to properly protect against overflow. [2738427] (user: dgp, size: 82650) [annotate] [blame] [check-ins using]
- 2020-04-16 19:52:26 — part of check-in [76213b3f72] on branch core-8-5-branch — Convert Tcl_UtfNext into a routine that doesn't decode UTF-8 into UCS-2, but sticks only to its task of computing the pointer increment. Update callers of Tcl(_)UtfToUniChar that do not need decoding to use Tcl_UtfNext instead. Changes here fix [2738427] putting in place full overflow protection for Tcl_NumUtfChars(). Many tests and doc improvements. (user: dgp, size: 82650) [annotate] [blame] [check-ins using]