[PATCH v2 1/2] ws2_32: Validate pointers in select().

Torge Matthies openglfreak at googlemail.com
Tue Oct 19 12:22:17 CDT 2021


A crash in osu! was reported on Discord that segfaulted in this
function. I don't know if there is any underlying bug and if adding
these patches just hides a bug, but the current behavior of select() of
just crashing is definitely wrong.


On Mon, 18 Oct 2021 at 17:07, Alexandre Julliard <julliard at winehq.org> wrote:
>
> Torge Matthies <openglfreak at googlemail.com> writes:
>
> > The documentation says that SOCKET_ERROR is returned and the error is
> > set to WSAEFAULT if any of the input pointers point to unmapped memory.
>
> Do you have an application that does this?
>
> --
> Alexandre Julliard
> julliard at winehq.org



More information about the wine-devel mailing list