https://git.reactos.org/?p=reactos.git;a=commitdiff;h=016dc28793aafe95029f3e9c462d2be56ab3c32d

commit 016dc28793aafe95029f3e9c462d2be56ab3c32d
Author:     Victor Perevertkin <[email protected]>
AuthorDate: Tue Dec 8 13:44:27 2020 +0300
Commit:     Victor Perevertkin <[email protected]>
CommitDate: Tue Dec 8 13:44:27 2020 +0300

    [NTOS:CONFIG] Release the lock in a failure case in CmLoadKey
    
    This is a workaround, the real issue is still not resolved
    CORE-17263
---
 ntoskrnl/config/cmapi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ntoskrnl/config/cmapi.c b/ntoskrnl/config/cmapi.c
index ee801a64aae..25daeb46c57 100644
--- a/ntoskrnl/config/cmapi.c
+++ b/ntoskrnl/config/cmapi.c
@@ -2130,6 +2130,7 @@ CmLoadKey(IN POBJECT_ATTRIBUTES TargetKey,
         DPRINT1("CmpLinkHiveToMaster failed, Status %lx\n", Status);
         /* FIXME: TODO */
         // ASSERT(FALSE); see CORE-17263
+        ExReleasePushLock(&CmpLoadHiveLock);
     }
 
     /* Is this first profile load? */

Reply via email to