Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a18d74136822b533aed69aa09c2bc2058d8c501f
Ticket: 769902ffffffffffffffffffffffffffffffffff
[string trimright] depends on Tcl_UtfPrev bug
User & Date: dgp on 2003-07-11 21:55:21
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
  4. foundin changed to: "obsolete: 8.4.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to: "[string trimright] depends on Tcl_UtfPrev bug"
  11. type changed to: "Bug"