Alexandre Julliard : ntdll: Add the builtin signature in .so file mappings.
Alexandre Julliard
julliard at winehq.org
Tue Mar 16 16:39:03 CDT 2021
Module: wine
Branch: master
Commit: 5cc603528434db4abc689185ba685bfe6d510224
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5cc603528434db4abc689185ba685bfe6d510224
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 16 20:12:46 2021 +0100
ntdll: Add the builtin signature in .so file mappings.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/loader.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
index b9df449fa5a..20f614f59f1 100644
--- a/dlls/ntdll/unix/loader.c
+++ b/dlls/ntdll/unix/loader.c
@@ -613,6 +613,7 @@ static NTSTATUS map_so_dll( const IMAGE_NT_HEADERS *nt_descr, HMODULE module )
dos->e_ss = 0x0000;
dos->e_sp = 0x00b8;
dos->e_lfanew = sizeof(*dos) + sizeof(builtin_signature);
+ memcpy( dos + 1, builtin_signature, sizeof(builtin_signature) );
*nt = *nt_descr;
More information about the wine-cvs
mailing list