Alexandre Julliard : ntdll: Don't bother setting the preloader range for fake dlls.
Alexandre Julliard
julliard at winehq.org
Mon Apr 19 15:38:09 CDT 2021
Module: wine
Branch: master
Commit: e436a40e80cd046fe2d70ae1e9a4419e35dcd25f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e436a40e80cd046fe2d70ae1e9a4419e35dcd25f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Apr 19 18:28:33 2021 +0200
ntdll: Don't bother setting the preloader range for fake dlls.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/loader.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
index 9361864e84b..4f6c2d07162 100644
--- a/dlls/ntdll/unix/loader.c
+++ b/dlls/ntdll/unix/loader.c
@@ -412,6 +412,8 @@ NTSTATUS exec_wineloader( char **argv, int socketfd, const pe_image_info_t *pe_i
const char *loader_env = getenv( "WINELOADER" );
char preloader_reserve[64], socket_env[64];
+ if (pe_info->image_flags & IMAGE_FLAGS_WineFakeDll) res_start = res_end = 0;
+
if (!is_child_64bit && (is_win64 || is_wow64) && (pe_info->image_flags & IMAGE_FLAGS_ComPlusNativeReady))
{
is_child_64bit = TRUE;
More information about the wine-cvs
mailing list