ntdll: Avoid segfault with snoop for exefiles with a broken export table.
This commit is contained in:
parent
6be7eba918
commit
3e83b75038
|
@ -1444,7 +1444,7 @@ static NTSTATUS load_native_dll( LPCWSTR load_path, LPCWSTR name, HANDLE file,
|
|||
}
|
||||
SERVER_END_REQ;
|
||||
|
||||
if (TRACE_ON(snoop)) SNOOP_SetupDLL( module );
|
||||
if ((wm->ldr.Flags & LDR_IMAGE_IS_DLL) && TRACE_ON(snoop)) SNOOP_SetupDLL( module );
|
||||
|
||||
TRACE_(loaddll)( " Loaded module %s : native\n", debugstr_w(wm->ldr.FullDllName.Buffer) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue