https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8d3f52a2caaccf5484aca…
commit 8d3f52a2caaccf5484aca2beb581c35a10ba0cee
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Fri Dec 27 17:01:15 2019 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Fri Dec 27 17:02:26 2019 +0100
[NTDLL:LDR] Add a print on illegal DLL relocation.
---
dll/ntdll/ldr/ldrutils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dll/ntdll/ldr/ldrutils.c b/dll/ntdll/ldr/ldrutils.c
index 4c1adbf7810..7f04bb46055 100644
--- a/dll/ntdll/ldr/ldrutils.c
+++ b/dll/ntdll/ldr/ldrutils.c
@@ -1417,6 +1417,8 @@ SkipCheck:
HardErrorParameters[0] = (ULONG_PTR)&IllegalDll;
HardErrorParameters[1] = (ULONG_PTR)&OverlapDll;
+ DPRINT1("Illegal DLL relocation! %wZ overlaps %wZ\n",
&OverlapDll, &IllegalDll);
+
/* Raise the error */
ZwRaiseHardError(STATUS_ILLEGAL_DLL_RELOCATION,
2,