- UGLY HACK dedicated to Timo Kreuzer: Please, fix this issue. Happens only in 2nd stage during shutdown.

svn path=/trunk/; revision=32603
This commit is contained in:
Aleksey Bragin 2008-03-07 17:13:02 +00:00
parent 5938d19c52
commit bc0269a715

View file

@ -1318,6 +1318,16 @@ LockHandle:
{
POBJ Object = Entry->KernelData;
/* HACK: Introduced very recently, probably by Timo's changes */
if ((ULONG_PTR)Object < 0x80000000)
{
DPRINT1("KernelData is invalid (%p) for Entry %p!!!\n",
Object, Entry);
/* Hopefully someone is going to solve this issue */
return;
}
PrevThread = Object->Tid;
if (Object->cExclusiveLock == 0 || PrevThread == Thread)
{