[PATCH] ntdll: Honour alertable argument in NtContinue.
Jacek Caban
jacek at codeweavers.com
Mon Jan 11 13:04:33 CST 2021
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
Since 7a71f98640bf, NtContinue always performs alertable wait, meaning
that dispatch_exception can cause APC to be invoked, ignoring that
alertable is FALSE.
I found it while debugging a win16 application, which crashed in APC
unexpectedly invoked when returning from an emulated DOS call. The
problem is more likely to happen in win16, where we have a lot of
exceptions, but it's more generic.
dlls/ntdll/unix/server.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Honour-alertable-argument-in-NtContinue.txt
Type: text/x-patch
Size: 785 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210111/88785685/attachment.bin>
More information about the wine-devel
mailing list