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

commit fc9c3fe6f74b8853a50c81161e227291768e825b
Author:     Mark Harmstone <[email protected]>
AuthorDate: Thu Oct 3 19:36:43 2019 +0100
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sat Oct 5 23:20:52 2019 +0200

    [FREELDR] Set LDRP_DRIVER_DEPENDENT_DLL where necessary. (#1951)
---
 boot/freeldr/freeldr/lib/peloader.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boot/freeldr/freeldr/lib/peloader.c 
b/boot/freeldr/freeldr/lib/peloader.c
index 53462a574fa..297788e5a31 100644
--- a/boot/freeldr/freeldr/lib/peloader.c
+++ b/boot/freeldr/freeldr/lib/peloader.c
@@ -371,6 +371,8 @@ PeLdrpLoadAndScanReferencedDll(
         return Success;
     }
 
+    (*DataTableEntry)->Flags |= LDRP_DRIVER_DEPENDENT_DLL;
+
     /* Scan its dependencies too */
     TRACE("PeLdrScanImportDescriptorTable() calling ourselves for %S\n",
           VaToPa((*DataTableEntry)->BaseDllName.Buffer));

Reply via email to