Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cc8f722e4e6ff78e726eebf0fbfb7b186d714d8e
Ticket: 1122671fffffffffffffffffffffffffffffffff
SEGV in Tcl_UtfToUniChar with unaligned string
User & Date: hobbs on 2005-02-16 07:34:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    The problem needs to more specifically address callers of
    Tcl_UtfToUniChar, to make sure they are properly passing in
    data.  Attached is a patch to Tcl that addresses the same
    problem as found in UtfToUnicodeProc.  There is a problem in
    that it hard-codes the sizeof(Tcl_UniChar) == 2 assumption,
    which is a Bad Idea.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"