Segfault in X Input when using Solaris Xlib

Robert Lunnon bobl at optushome.com.au
Sat May 7 02:55:50 CDT 2005


Changelog:
dlls/x11drv/keyboard.c

Robert Lunnon <bobl at optusnet.com.au>
Avoid passing NULL buffer elements and status pointers to XmbLookupString


Notes about patch:
Man page for this function says nothing about the behaviour of this function 
when NULL values are passed in for buf or status elements. Under Xfree86 this 
works, but Solaris's native Xlib attempts to dereference one of the pointers 
and segfaults.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keyboard.c.diff
Type: text/x-diff
Size: 1442 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050507/803333b2/keyboard.c.bin


More information about the wine-patches mailing list