Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 74d30a0bac22a645d78f50eea2bfd0b0512a0b4e
Ticket: 1122671fffffffffffffffffffffffffffffffff
SEGV in Tcl_UtfToUniChar with unaligned string
User & Date: hobbs on 2005-02-23 01:01:58
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    I would also be interested if merely swapping the decl
    ordering to:
        char buf[16], src[TCL_UTF_MAX];
    solves the issue (it should, being aligned by decl).  I
    would do this as well as a primary safe-guard, as well as
    looking into the larger fixes, but I wanted to confirm just
    that one fix would be "enough" in this case.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"