ws2_32: Fix parameter validation order in getpeername.

Andrew Nguyen arethusa26 at gmail.com
Mon Feb 1 19:16:21 CST 2010


Invalid pointers appear to be handled by getpeername in all versions
of Windows, so adding an exception handler seems to be justified.
---
 dlls/ws2_32/socket.c     |   33 ++++++++++-----------
 dlls/ws2_32/tests/sock.c |   73 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+), 17 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ed388f6330f43a7badfce85185861866ec4d308a.diff
Type: text/x-patch
Size: 5577 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100201/bb2c6ed7/attachment-0001.bin>


More information about the wine-patches mailing list