wsock32: Check return value rather than returned size for error

Juan Lang juan.lang at
Mon Nov 5 11:29:27 CST 2007

This is what my patch yesterday should have been.  The error condition
the code was protecting against was nonsensical, and yesterday's "fix"
could have led to reading uninitialized memory.

Bad coder, no candy for you..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Check-return-value-rather-than-returned-size-for-err.patch
Type: text/x-patch
Size: 2701 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list