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

Muneyuki Noguchi nogu.dev at gmail.com
Sun Aug 24 03:13:06 CDT 2008

Changes from the previous patch:
- Add a new variable STRSIZE.
- Use HeapAlloc() and HeapFree() instead of malloc() and free().
- Return from a function when (re)allocation failed.

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

More information about the wine-patches mailing list