Commit 3cc00b50 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Check for NULL before doing IsEqualGUID() in

AtlInternalQueryInterface.
parent 9bf729b7
......@@ -128,7 +128,7 @@ HRESULT WINAPI AtlInternalQueryInterface(LPVOID this, const _ATL_INTMAP_ENTRY* p
TRACE("Trying entry %i (%p %li %p)\n",i,pEntries[i].piid,
pEntries[i].dw, pEntries[i].pFunc);
if (IsEqualGUID(iid,pEntries[i].piid))
if (pEntries[i].piid && IsEqualGUID(iid,pEntries[i].piid))
{
TRACE("MATCH\n");
if (pEntries[i].pFunc == (_ATL_CREATORARGFUNC*)1)
......
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