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=29... ============================================================================== --- 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;