Commit 5cc60352 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent e0fc8d7a
...@@ -613,6 +613,7 @@ static NTSTATUS map_so_dll( const IMAGE_NT_HEADERS *nt_descr, HMODULE module ) ...@@ -613,6 +613,7 @@ static NTSTATUS map_so_dll( const IMAGE_NT_HEADERS *nt_descr, HMODULE module )
dos->e_ss = 0x0000; dos->e_ss = 0x0000;
dos->e_sp = 0x00b8; dos->e_sp = 0x00b8;
dos->e_lfanew = sizeof(*dos) + sizeof(builtin_signature); dos->e_lfanew = sizeof(*dos) + sizeof(builtin_signature);
memcpy( dos + 1, builtin_signature, sizeof(builtin_signature) );
*nt = *nt_descr; *nt = *nt_descr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment