[ros-diffs] [mnordell] 29618: Fixes the registry loop bug. No more bugchecks after exactly ten minutes. Do not try to insert an entry into a list it's already inserted into.
mnordell at svn.reactos.org
mnordell at svn.reactos.org
Tue Oct 16 06:59:20 CEST 2007
Author: mnordell
Date: Tue Oct 16 08:59:20 2007
New Revision: 29618
URL: http://svn.reactos.org/svn/reactos?rev=29618&view=rev
Log:
Fixes the registry loop bug. No more bugchecks after exactly ten minutes. Do not try to insert an entry into a list it's already inserted into.
Modified:
trunk/reactos/ntoskrnl/cm/ntfunc.c
Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cm/ntfunc.c?rev=29618&r1=29617&r2=29618&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/cm/ntfunc.c (original)
+++ trunk/reactos/ntoskrnl/cm/ntfunc.c Tue Oct 16 08:59:20 2007
@@ -24,7 +24,6 @@
/* GLOBALS ******************************************************************/
extern POBJECT_TYPE CmpKeyObjectType;
-extern LIST_ENTRY CmiKeyObjectListHead;
static BOOLEAN CmiRegistryInitialized = FALSE;
@@ -332,7 +331,6 @@
goto Cleanup;
}
- InsertTailList(&CmiKeyObjectListHead, &KeyObject->ListEntry);
RtlCreateUnicodeString(&KeyObject->Name, Start);
KeyObject->KeyCell->Parent = KeyObject->ParentKey->KeyCellOffset;
More information about the Ros-diffs
mailing list