Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 39c671d0fda74c4612fa8f703f5924138b41bb7d
Ticket: 1122671fffffffffffffffffffffffffffffffff
SEGV in Tcl_UtfToUniChar with unaligned string
User & Date: hobbs on 2005-02-16 07:38:53
Changes

  1. icomment:
    
    
    File Added - 120190: 1122671-tk.patch
    
    Logged In: YES 
    user_id=72656
    
    And attached here is the proposed patch for Tk.  This
    actually defers the ucs-2be to be 'unicode' on BE machines.
     This is just the tkUnixFont.c patch - configure.in also
    adds AC_C_BIGENDIAN (like in tcl's configure.in) to get
    WORDS_BIGENDIAN defined on BE machines.  You can apply this
    patch whether you add that to configure.in or not.  Please
    test with both patches.  I'm actually amazed that you never
    hit the aligment issue with tclEncoding.c:UtfToUnicodeProc,
    which should be called more often.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"