winsock: WS_getaddrinfo TRACE message can crash Wine

Albert Lee trisk at acm.jhu.edu
Sun Jun 15 02:01:20 CDT 2008


A TRACE message for WS_getaddrinfo formats the nodename and servname
arguments of getaddrinfo() with "%s". NULL is a valid value for both of
them, so wrap them in debugstr_a().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-01-getaddrinfo.diff
Type: text/x-patch
Size: 574 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080615/078ffce2/attachment.bin 


More information about the wine-patches mailing list