mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
ntdll: Avoid crash with WINEDEBUG=+snoop.
This commit is contained in:
parent
22e94d0ba6
commit
8d051c81b2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue