Author: fireball
Date: Fri Jul 8 22:32:48 2011
New Revision: 52577
URL:
http://svn.reactos.org/svn/reactos?rev=52577&view=rev
Log:
[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.
Modified:
trunk/reactos/dll/ntdll/ldr/ldrutils.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrutils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrutils.c?r…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] Fri Jul 8 22:32:48 2011
@@ -1519,11 +1519,11 @@
*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;
}
}