mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[Win32k]
- Fix crash in msg test_interthread_message test. Noticed it once and not sure how to track it. svn path=/trunk/; revision=51282
This commit is contained in:
parent
a6586c33b1
commit
efe3b7a684
1 changed files with 5 additions and 0 deletions
|
@ -407,6 +407,11 @@ UserDereferenceObject(PVOID object)
|
|||
{
|
||||
entry = handle_to_entry(gHandleTable, ((PHEAD)object)->h );
|
||||
|
||||
if (!entry)
|
||||
{
|
||||
DPRINT1("warning! Dereference Object without ENTRY! Obj -> 0x%x\n", object);
|
||||
return FALSE;
|
||||
}
|
||||
DPRINT("warning! Dereference to zero! Obj -> 0x%x\n", object);
|
||||
|
||||
((PHEAD)object)->cLockObj = 0;
|
||||
|
|
Loading…
Reference in a new issue