wsock32: Check return value rather than returned size for error

Juan Lang juan.lang at gmail.com
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..
--Juan
-------------- 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20071105/2aa0ce66/attachment.bin 


More information about the wine-patches mailing list