mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
[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
This commit is contained in:
parent
9fb0ac1448
commit
289a5f8d37
|
@ -1519,10 +1519,10 @@ lookinhash:
|
|||
*LdrEntry = CurEntry;
|
||||
|
||||
/* Find activation context */
|
||||
Status = RtlFindActivationContextSectionString(0, NULL, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, DllName, NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
return FALSE;
|
||||
else
|
||||
//Status = RtlFindActivationContextSectionString(0, NULL, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, DllName, NULL);
|
||||
//if (!NT_SUCCESS(Status))
|
||||
// return FALSE;
|
||||
//else
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue