[Take 5] winex11.drv: Fix a buffer overflow bug in X11DRV_KeyEvent() and X11DRV_ToUnicodeEx()
nogu.dev at gmail.com
Fri Aug 29 16:37:13 CDT 2008
winex11.drv: Fix a buffer overflow bug in X11DRV_KeyEvent() and
Currently, Wine users can't input and enter more than 8 multi-byte
characters with a input method, such as SCIM and uim (Bug #11281 and
Bug #9838). This makes CJK users very frustrated and is a serious bug.
This bug can't be reproduced when users are inputting only single-byte
characters. The attached patch fixes this bug.
CJK input many issues
Input Method's output overruns the buffer of wine keyboard input
A similar patch is sent to wine-patches by Kusanagi Kouichi, but
rejected his second patch silently. To make the issue clear, unlike
his patch, my patch fixes only buffer overflow bugs.
winex11.drv: Handle arbitrary length composed input. [take 2]
Again, this is a serious bug for CJK users.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4755 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080830/79411f46/attachment.bin
More information about the wine-patches