mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
ntdll: Avoid crash with WINEDEBUG=+snoop.
This commit is contained in:
parent
22e94d0ba6
commit
8d051c81b2
@ -650,7 +650,7 @@ void SNOOP_SetupDLL(HMODULE hmod)
|
||||
if (!init_done) init_debug_lists();
|
||||
|
||||
exports = RtlImageDirectoryEntryToData( hmod, TRUE, IMAGE_DIRECTORY_ENTRY_EXPORT, &size32 );
|
||||
if (!exports) return;
|
||||
if (!exports || !exports->NumberOfFunctions) return;
|
||||
name = (char *)hmod + exports->Name;
|
||||
size = size32;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user