Commit 9cd7fe75 authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

fix assertion in CdbDebugEventCallback::UnloadModule

Parameter ImageBaseName can be NULL.
This seems to happen for modules like kernel32.dll and other
modules in the guts of the OS.
parent eb3c88eb
......@@ -183,10 +183,11 @@ STDMETHODIMP CdbDebugEventCallback::UnloadModule(
__in ULONG64 BaseOffset
if (debugCDB > 1)
qDebug() << Q_FUNC_INFO << ImageBaseName;
if (!ImageBaseName)
return S_OK;
m_pEngine->m_d->handleModuleUnload(QString::fromUtf16(reinterpret_cast<const ushort *>(ImageBaseName)));
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