Author: ekohl
Date: Thu Jun 7 11:55:31 2012
New Revision: 56706
URL: http://svn.reactos.org/svn/reactos?rev=56706&view=rev
Log:
[NTOSKRNL]
Stop parsing keys and return STATUS_KEY_DELETED if the parent key was marked as deleted. This fixes two winetests.
Modified:
trunk/reactos/ntoskrnl/config/cmparse.c
Modified: trunk/reactos/ntoskrnl/config/cmparse.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmparse.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmparse.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmparse.c [iso-8859-1] Thu Jun 7 11:55:31 2012
@@ -1073,6 +1073,10 @@
/* Grab the KCB */
Kcb = ((PCM_KEY_BODY)ParseObject)->KeyControlBlock;
+
+ /* Fail if the key was marked as deleted */
+ if (Kcb->Delete)
+ return STATUS_KEY_DELETED;
/* Lookup in the cache */
Status = CmpBuildHashStackAndLookupCache(ParseObject,