https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4cc2c350ef208d417a7e0124c44b6c521bd3a917

commit 4cc2c350ef208d417a7e0124c44b6c521bd3a917
Author:     Joachim Henze <joachim.he...@reactos.org>
AuthorDate: Fri Aug 6 19:25:14 2021 +0200
Commit:     Joachim Henze <joachim.he...@reactos.org>
CommitDate: Fri Aug 6 19:25:14 2021 +0200

    [LDR] Disable Logging when images overlap CORE-17635
    
    We found out what we wanted to find out:
    the remaining TODOs for the Python script.
    
    So we can silence the DPRINTs again for the time being
    to reduce spam from 3rd party dlls.
    Paying tribute to Mark Jansen ;)
---
 dll/ntdll/ldr/ldrutils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dll/ntdll/ldr/ldrutils.c b/dll/ntdll/ldr/ldrutils.c
index 27fa42b929f..5b1ec30e525 100644
--- a/dll/ntdll/ldr/ldrutils.c
+++ b/dll/ntdll/ldr/ldrutils.c
@@ -1335,7 +1335,7 @@ SkipCheck:
         ImageBase = (ULONG_PTR)NtHeaders->OptionalHeader.ImageBase;
         ImageEnd = ImageBase + ViewSize;
 
-        DPRINT1("LDR: LdrpMapDll Relocating Image Name %ws (%p-%p -> %p)\n", 
DllName, (PVOID)ImageBase, (PVOID)ImageEnd, ViewBase);
+        DPRINT("LDR: LdrpMapDll Relocating Image Name %ws (%p-%p -> %p)\n", 
DllName, (PVOID)ImageBase, (PVOID)ImageEnd, ViewBase);
 
         /* Scan all the modules */
         ListHead = &Peb->Ldr->InLoadOrderModuleList;
@@ -1374,7 +1374,7 @@ SkipCheck:
             RtlInitUnicodeString(&OverlapDll, L"Dynamically Allocated Memory");
         }
 
-        DPRINT1("Overlapping DLL: %wZ\n", &OverlapDll);
+        DPRINT("Overlapping DLL: %wZ\n", &OverlapDll);
 
         /* Are we dealing with a DLL? */
         if (LdrEntry->Flags & LDRP_IMAGE_DLL)

Reply via email to