mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
- 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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user