Skip to content
Tcl Source Code History Of Ticket 769902ffffffffff
Login

History Of Ticket 769902ffffffffff

Artifacts Associated With Ticket 769902ffffffffff

  1. Ticket change [a18d741368] (rid 109736) by dgp on 2003-07-11 21:55:21:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.4.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "18. Commands M-Z"
    10. title initialized to: "[string trimright] depends on Tcl_UtfPrev bug"
    11. type initialized to: "Bug"
  2. Ticket change [0a1edd17cd] (rid 113759) by dgp on 2003-07-12 06:52:24:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2003-07-11T23:52:24"
    3. closer changed to: "dgp"
    4. 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.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
    9. username: "dgp"