Alexandre Julliard : rpcrt4: Make sure that the stack is set when catching an exception.
Module: wine Branch: master Commit: 8bac669056d2e810e6969ad7339fdc572b0ce93b URL: https://gitlab.winehq.org/wine/wine/-/commit/8bac669056d2e810e6969ad7339fdc5... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Mar 28 12:27:32 2024 +0100 rpcrt4: Make sure that the stack is set when catching an exception. Fixes a test crash in interpreted mode. --- dlls/rpcrt4/ndr_stubless.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c index cb77b8a06d3..6b23f699d2b 100644 --- a/dlls/rpcrt4/ndr_stubless.c +++ b/dlls/rpcrt4/ndr_stubless.c @@ -947,6 +947,7 @@ LONG_PTR CDECL ndr_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma { /* 7. FREE */ TRACE( "FREE\n" ); + stubMsg.StackTop = (unsigned char *)stack_top; client_do_args(&stubMsg, pFormat, STUBLESS_FREE, fpu_stack, number_of_params, (unsigned char *)&RetVal); RetVal = NdrProxyErrorHandler(GetExceptionCode());
participants (1)
-
Alexandre Julliard