ntdll: Always copy context in call_user_apc_dispatcher() on x64.
commitc72f52d7cc4353498fe5570229231d5d1cb36204
authorPaul Gofman <pgofman@codeweavers.com>
Wed, 16 Dec 2020 23:05:04 +0000 (17 02:05 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 17 Dec 2020 09:26:52 +0000 (17 10:26 +0100)
tree0ff415c513f4c82b1d9b2aa0c6551d40c23349c0
parentef876fc54e207344b5809f40a59e3d5d610a6fda
ntdll: Always copy context in call_user_apc_dispatcher() on x64.

Currently, if call_user_apc_dispatcher() is called with nonzero context,
there is no guarantee that the provided context is stored above the
rsp = context_ptr->Rsp - (sizeof(CONTEXT) + offsetof(frame,ret_addr))
being set.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/unix/signal_x86_64.c