[PATCH v2 7/7] ntdll: Do not lock loader in RtlPcToFileHeader().
Paul Gofman
pgofman at codeweavers.com
Fri Oct 1 17:00:41 CDT 2021
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
dlls/ntdll/loader.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 84b3592abb8..1deae752fc9 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -4177,9 +4177,7 @@ PVOID WINAPI RtlPcToFileHeader( PVOID pc, PVOID *address )
LDR_DATA_TABLE_ENTRY *module;
PVOID ret = NULL;
- lock_loader_exclusive();
if (!LdrFindEntryForAddress( pc, &module )) ret = module->DllBase;
- unlock_loader();
*address = ret;
return ret;
}
--
2.31.1
More information about the wine-devel
mailing list