mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 21:56:40 +00:00
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.
svn path=/trunk/; revision=29618
This commit is contained in:
parent
ff0adc4b29
commit
48b968be9f
|
@ -24,7 +24,6 @@
|
||||||
/* GLOBALS ******************************************************************/
|
/* GLOBALS ******************************************************************/
|
||||||
|
|
||||||
extern POBJECT_TYPE CmpKeyObjectType;
|
extern POBJECT_TYPE CmpKeyObjectType;
|
||||||
extern LIST_ENTRY CmiKeyObjectListHead;
|
|
||||||
|
|
||||||
static BOOLEAN CmiRegistryInitialized = FALSE;
|
static BOOLEAN CmiRegistryInitialized = FALSE;
|
||||||
|
|
||||||
|
@ -332,7 +331,6 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
||||||
goto Cleanup;
|
goto Cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
InsertTailList(&CmiKeyObjectListHead, &KeyObject->ListEntry);
|
|
||||||
RtlCreateUnicodeString(&KeyObject->Name, Start);
|
RtlCreateUnicodeString(&KeyObject->Name, Start);
|
||||||
|
|
||||||
KeyObject->KeyCell->Parent = KeyObject->ParentKey->KeyCellOffset;
|
KeyObject->KeyCell->Parent = KeyObject->ParentKey->KeyCellOffset;
|
||||||
|
|
Loading…
Reference in a new issue