Overview
| Artifact ID: | a18d74136822b533aed69aa09c2bc2058d8c501f |
|---|---|
| Ticket: | 769902ffffffffffffffffffffffffffffffffff
[string trimright] depends on Tcl_UtfPrev bug |
| User & Date: | dgp on 2003-07-11 21:55:21 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Line 2318 of revision 1.82.2.5 of generic/tclCmdMZ.c calls Tcl_UtfPrev(). On the first pass through the loop, the first argument is actually a pointer to one byte past the end of the stringrep. Tcl_UtfPrev() is documented to accept a "pointer to some location in a UTF-8 string". Currently this is safe, but if Tcl_UtfPrev() is ever changed to match its documentation (see Tcl Bug 769895), there may be trouble here.
- foundin changed to: "obsolete: 8.4.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "[string trimright] depends on Tcl_UtfPrev bug"
- type changed to: "Bug"