mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +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:
parent
36b0351814
commit
692b1c23aa
1 changed files with 2 additions and 0 deletions
|
@ -339,6 +339,8 @@ co_IntCallHookProc(INT HookId,
|
|||
PANSI_STRING asClassName;
|
||||
PTHREADINFO pti;
|
||||
|
||||
ASSERT(Proc);
|
||||
|
||||
pti = PsGetCurrentThreadWin32Thread();
|
||||
if (pti->TIF_flags & TIF_INCLEANUP)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue