ntdll: Add the builtin signature in .so file mappings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-03-16 20:12:46 +01:00
parent e0fc8d7acb
commit 5cc6035284
1 changed files with 1 additions and 0 deletions

View File

@ -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;