Overview
| Artifact ID: | cc8f722e4e6ff78e726eebf0fbfb7b186d714d8e |
|---|---|
| Ticket: | 1122671fffffffffffffffffffffffffffffffff
SEGV in Tcl_UtfToUniChar with unaligned string |
| User & Date: | hobbs on 2005-02-16 07:34:15 |
Changes
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"