<i>SEGV in Tcl_UtfToUniChar with unaligned string</i> status still Closed with 4 other changes
by
.
D 2006-10-06T12:00:38
J icomment Logged\sIn:\sYES\s\nuser_id=72656\n\nThe\sfollowing\sadditional\spatch\swas\snecessary\sin\sthe\sTcl\spart\nto\ssatisfy\ssome\squick\sof\sbig\sendian\ssystems\s...\n\n@@\s-2176,7\s+2176,7\s@@\n\s\s\s\s\s\s\s\s\s*/\n\s\s\s\s\s\s\s\sch\s=\s*(Tcl_UniChar\s*)src;\n\s\s\s\s\s\s\s\sif\s(ch\s&&\sch\s<\s0x80)\s{\n-\s\s\s\s\s\s\s\s\s\s\s*dst++\s=\s*src;\n+\s\s\s\s\s\s\s\s\s\s\s*dst++\s=\s(ch\s&\s0xFF);\n\s\s\s\s\s\s\s\s}\selse\s{\n\s\s\s\s\s\s\s\s\s\s\s\sdst\s+=\sTcl_UniCharToUtf(ch,\sdst);\n\s\s\s\s\s\s\s\s}\n\n
J login hobbs
J mimetype text/plain
J username hobbs
K 1122671fffffffffffffffffffffffffffffffff
U hobbs
Z e3c6c22be0393b8b85853da6693d3238