Commit 3baa9b99 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Protect ILIsParent from NULL pidls.

parent 0c555347
......@@ -543,6 +543,8 @@ BOOL WINAPI ILIsParent(LPCITEMIDLIST pidlParent, LPCITEMIDLIST pidlChild, BOOL b
TRACE("%p %p %x\n", pidlParent, pidlChild, bImmediate);
if (!pParent || !pChild) return FALSE;
while (pParent->mkid.cb && pChild->mkid.cb)
{
_ILSimpleGetText(pParent, szData1, MAX_PATH);
......
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