Summary: | windres crashes when processing resource files with UTF-8 (cp 65001) encoding. | ||
---|---|---|---|
Product: | binutils | Reporter: | Tom Bramer <tjb> |
Component: | binutils | Assignee: | unassigned |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug-binutils |
Priority: | P2 | ||
Version: | 2.19 | ||
Target Milestone: | --- | ||
Host: | i686-pc-mingw32 | Target: | i686-pc-mingw32 |
Build: | i686-pc-mingw32 | Last reconfirmed: | |
Attachments: |
Proposed patch to windres
Test case input. |
Description
Tom Bramer
2009-05-17 22:48:42 UTC
Created attachment 3940 [details]
Proposed patch to windres
Created attachment 3941 [details]
Test case input.
Subject: Bug 10165 CVSROOT: /cvs/src Module name: src Changes by: nickc@sourceware.org 2009-06-09 15:14:23 Modified files: binutils : ChangeLog winduni.c Log message: PR 10165 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1479&r2=1.1480 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/winduni.c.diff?cvsroot=src&r1=1.12&r2=1.13 Hi Tom, Thanks for reporting this bug and supplying a patch to fix it. I have checked in your patch along with the changelog entry below. Cheers Nick binutils/ChangeLog 2009-06-09 Tom Bramer <tjb@postpro.net> PR 10165 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types. *** Bug 260998 has been marked as a duplicate of this bug. *** Seen from the domain http://volichat.com Page where seen: http://volichat.com/adult-chat-rooms Marked for reference. Resolved as fixed @bugzilla. |