From 289a5f8d37b6ead18c4b7ca17568a6ed5757ebd3 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 8 Jul 2011 22:32:48 +0000 Subject: [PATCH] [NTDLL/LDR] - Comment out the actctx redirection check because it's placed wrongly. This should fix cases when a DLL is being loaded twice or more times for the same process. Spotted by Rafal Harabien. svn path=/trunk/; revision=52577 --- reactos/dll/ntdll/ldr/ldrutils.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/dll/ntdll/ldr/ldrutils.c b/reactos/dll/ntdll/ldr/ldrutils.c index b3c4dcebc1c..194193ecd4f 100644 --- a/reactos/dll/ntdll/ldr/ldrutils.c +++ b/reactos/dll/ntdll/ldr/ldrutils.c @@ -1519,11 +1519,11 @@ lookinhash: *LdrEntry = CurEntry; /* Find activation context */ - Status = RtlFindActivationContextSectionString(0, NULL, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, DllName, NULL); - if (!NT_SUCCESS(Status)) - return FALSE; - else - return TRUE; + //Status = RtlFindActivationContextSectionString(0, NULL, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, DllName, NULL); + //if (!NT_SUCCESS(Status)) + // return FALSE; + //else + return TRUE; } }