mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user