mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
[LDR]
- Fix invalid errors about "system DLL kernel32.dll was relocated in memory". This reverts my previous fix suggested by rafalh and puts a better explanation there in comments. svn path=/trunk/; revision=54629
This commit is contained in:
parent
a21d3b9a41
commit
f9533e5eba
1 changed files with 2 additions and 2 deletions
|
@ -1397,8 +1397,8 @@ SkipCheck:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if this was a non-relocatable DLL or a known dll */
|
/* Known DLLs are not allowed to be relocated */
|
||||||
if (!RelocatableDll || KnownDll)
|
if (KnownDll && !RelocatableDll)
|
||||||
{
|
{
|
||||||
/* Setup for hard error */
|
/* Setup for hard error */
|
||||||
HardErrorParameters[0] = (ULONG_PTR)&IllegalDll;
|
HardErrorParameters[0] = (ULONG_PTR)&IllegalDll;
|
||||||
|
|
Loading…
Reference in a new issue