[PATCH 20/22] ntdll: Use shared loader locking in LdrGetDllFullName().

Paul Gofman pgofman at codeweavers.com
Fri Oct 1 13:21:05 CDT 2021


Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
 dlls/ntdll/loader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 2ef49691f46..e4c090aa70e 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -3400,7 +3400,7 @@ NTSTATUS WINAPI LdrGetDllFullName( HMODULE module, UNICODE_STRING *name )
 
     if (!module) module = NtCurrentTeb()->Peb->ImageBaseAddress;
 
-    lock_loader_exclusive();
+    lock_loader_shared();
     wm = get_modref( module );
     if (wm)
     {
-- 
2.31.1




More information about the wine-devel mailing list