winsock: WS_getaddrinfo TRACE message can crash Wine

Albert Lee trisk at
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 : 

More information about the wine-patches mailing list