Overview
| Artifact ID: | 6c6cefb55b5543d979918b7e49f392292bf8add1 |
|---|---|
| Ticket: | 1122671fffffffffffffffffffffffffffffffff
SEGV in Tcl_UtfToUniChar with unaligned string |
| User & Date: | hobbs on 2006-10-06 12:00:38 |
Changes
- icomment:
Logged In: YES user_id=72656 The following additional patch was necessary in the Tcl part to satisfy some quick of big endian systems ... @@ -2176,7 +2176,7 @@ */ ch = *(Tcl_UniChar *)src; if (ch && ch < 0x80) { - *dst++ = *src; + *dst++ = (ch & 0xFF); } else { dst += Tcl_UniCharToUtf(ch, dst); } - login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"