Re: ws2_32: Fix parameter validation order in getpeername.

2010-02-02 Thread Andrew Nguyen
On Tue, Feb 2, 2010 at 4:58 AM, Alexandre Julliard wrote: > Andrew Nguyen 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

Re: ws2_32: Fix parameter validation order in getpeername.

2010-02-02 Thread Alexandre Julliard
Andrew Nguyen 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