mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
patch by hto.
Fixing the crash in win32k after user-mode callback Some forget use seh. all user mode param shall always be using seh. See issue #2212 for more details. svn path=/trunk/; revision=26546
This commit is contained in:
parent
253fa4b7a0
commit
039e4a7b2e
1 changed files with 10 additions and 2 deletions
|
@ -195,8 +195,16 @@ co_IntCallWindowProc(WNDPROC Proc,
|
|||
&ResultPointer,
|
||||
&ResultLength);
|
||||
|
||||
/* Simulate old behaviour: copy into our local buffer */
|
||||
RtlMoveMemory(Arguments, ResultPointer, ArgumentLength);
|
||||
_SEH_TRY
|
||||
{
|
||||
/* Simulate old behaviour: copy into our local buffer */
|
||||
RtlMoveMemory(Arguments, ResultPointer, ArgumentLength);
|
||||
}
|
||||
_SEH_HANDLE
|
||||
{
|
||||
Status = _SEH_GetExceptionCode();
|
||||
}
|
||||
_SEH_END;
|
||||
|
||||
UserEnterCo();
|
||||
|
||||
|
|
Loading…
Reference in a new issue