mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +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;
|
PANSI_STRING asClassName;
|
||||||
PTHREADINFO pti;
|
PTHREADINFO pti;
|
||||||
|
|
||||||
|
ASSERT(Proc);
|
||||||
|
|
||||||
pti = PsGetCurrentThreadWin32Thread();
|
pti = PsGetCurrentThreadWin32Thread();
|
||||||
if (pti->TIF_flags & TIF_INCLEANUP)
|
if (pti->TIF_flags & TIF_INCLEANUP)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue