ws2_32/tests: Avoid crashing if getservbyname fails

Bruno Jesus 00cpxxx at gmail.com
Tue Apr 10 21:25:56 CDT 2012


Avoid a windows 8 crash that could also happen in other systems:

sock.c:1602: Test failed: getservbyname could not retrieve information
for domain: 11004
sock.c:1603: this is the last test seen before the exception
sock: unhandled exception c0000005 at 00414995
test failed: crash

As seen in:
http://test.winehq.org/data/4b3e4fa87b4ea8d3c59477068b6072763b0a180a/win8_ah-win8/ws2_32:sock.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-tests-avoid-crash-getservbyname.patch
Type: application/octet-stream
Size: 971 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120410/1354043e/attachment.obj>


More information about the wine-patches mailing list