ws2_32: Fix parameter validation order in getpeername.

Alexandre Julliard julliard at
Tue Feb 2 04:58:35 CST 2010

Andrew Nguyen <arethusa26 at> writes:

> Invalid pointers appear to be handled by getpeername in all versions
> of Windows, so adding an exception handler seems to be justified.

It's only justified if there is a real app that passes a bad pointer
that is not the result of some other Wine bug. Please provide more

Alexandre Julliard
julliard at

More information about the wine-devel mailing list