Artifacts Associated With Ticket 769902ffffffffff
Ticket change [a18d741368] (rid 109736) by dgp on 2003-07-11 21:55:21:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.4.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "[string trimright] depends on Tcl_UtfPrev bug"
- type initialized to: "Bug"
Ticket change [0a1edd17cd] (rid 113759) by dgp on 2003-07-12 06:52:24:
- assignee changed to: "dgp"
- closedate changed to: "2003-07-11T23:52:24"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 sorry. pilot error. The string comes from a prior Tcl_GetStringFromObj(), and such a string must be null-terminated. "one past the end" would be that NULL. If it is not, it's because some extension did not follow the Tcl_RegisterObjType docs, and the bug is there, not here.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"