Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3f8b1722182c18baf0fc6732ba48332482b7ed36
Ticket: 1122671fffffffffffffffffffffffffffffffff
SEGV in Tcl_UtfToUniChar with unaligned string
User & Date: hobbs on 2005-02-15 08:34:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    The X server has something to do with it in this case
    because you travelled through UtfToUcs2beProc, which is for
    big endian encoding conversion in X, managed by the font
    encoding.
    
    In any case, it would be safest to handle it in
    Tcl_UtfToUniChar, but that is a time-sensitive function. 
    There is also TclUtfToUniChar that may need similar
    treatment in generic/tclInt.h.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"