mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 16:05:46 +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 a new issue