[Take 4] winex11.drv: Fix buffer overflow bug in X11DRV_KeyEvent() and X11DRV_ToUnicodeEx()

Muneyuki Noguchi nogu.dev at gmail.com
Wed Aug 27 08:54:56 CDT 2008


winex11.drv: Fix buffer overflow bug in X11DRV_KeyEvent() and
X11DRV_ToUnicodeEx()

Changes from the previous patch:
- Define STRSIZE instead of adding a new variable.
- Allocate heap only if required.
- Call wine_tsx11_unlock() when needed.

-- 
Muneyuki Noguchi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11.drv-Fix-buffer-overflow-bug-in-X11DRV_KeyEv.patch
Type: text/x-patch
Size: 4750 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080827/20fe17e0/attachment.bin 


More information about the wine-patches mailing list