Commit d03420da authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

ntdll: Don't change RtlWaitOnAddress size after user invoke_apc.

This makes the next iteration to immediately return STATUS_SUCCESS because of compare_addr returning FALSE with size == 0. Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3f10a59f
......@@ -2504,7 +2504,6 @@ NTSTATUS WINAPI RtlWaitOnAddress( const void *addr, const void *cmp, SIZE_T size
* but we don't want to wait */
abs_timeout = 0;
user_apc = TRUE;
size = 0;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment