[PATCH 0/2] MR127: ws2_32: Make wait in select alertable

Alexandre Julliard julliard at winehq.org
Wed May 25 11:02:16 CDT 2022


Jinoh Kang <jinoh.kang.kr at gmail.com> writes:

> On 5/25/22 22:30, Alexandre Julliard wrote:
>>> We can wrap the IOSB writes in `set_async_iosb` inside a `__TRY` block from `wine/unixlib.h`.
>> 
>> That would only be hiding the bug.
>> 
>
> Handling the exception does not necessarily mean silencing the bug; we can flag the error condition via ERR().

That's assuming that we'll always get an exception, but there's no
guarantee that the thread stack space has not been allocated to
something else, in which case it will silently corrupt data.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list