ws2_32: Fail when select is called with an invalid fd. (try 4)

Vincent Povirk vincent at codeweavers.com
Sun Sep 19 17:21:35 CDT 2010


(Of course, I can either include a message or remember the patch, but not both.)

This time I'm calling release_poll_fds. I think this will prevent leaking of fd's, but it does test the exceptfds for errors (harmless but unnecessary afaict). I don't know if duplicating the code is better, so I default to the easy choice.

Eventually, I have to get this right by trial and error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100919/d7d9130b/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-ws2_32-Fail-when-select-is-called-with-an-invalid-fd.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100919/d7d9130b/attachment.txt>


More information about the wine-patches mailing list