mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[win32k]
- When we try to call a hook with null hook proc will cause a crash in user32. Add an assertion in win32k in order to catch the problem a bit earlier svn path=/trunk/; revision=49145
This commit is contained in:
@@ -339,6 +339,8 @@ co_IntCallHookProc(INT HookId,
|
||||
PANSI_STRING asClassName;
|
||||
PTHREADINFO pti;
|
||||
|
||||
ASSERT(Proc);
|
||||
|
||||
pti = PsGetCurrentThreadWin32Thread();
|
||||
if (pti->TIF_flags & TIF_INCLEANUP)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user