Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ba49f17c0b3f2754331d3afcd3396d240dca06ae
Ticket: 2597185fffffffffffffffffffffffffffffffff
Tcl_AppendStringsToObj fail on pure unicode
User & Date: dgp on 2009-02-13 20:51:07
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Tcl_AppendStringsToObj() uses calls to
    Tcl_*SetObjLength() to grow the buffer
    big enough to copy in the strings.
    
    However (see 1689385) when these routines
    are applied to a pure unicode value, it
    is the Tcl_UniChar array and not the
    char array of objPtr->bytes that is grown.
    
    Looks like T_ASTO will crash hard in this
    situation.
    
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "10. Objects"
  11. title changed to: "Tcl_AppendStringsToObj fail on pure unicode"
  12. type changed to: "Bug"