Initialized the pidlOut variable in SHELL32_ParseNextElement to
prevent a crash in some cases.
This commit is contained in:
parent
2996c57fba
commit
25ee95cd5d
|
@ -119,7 +119,7 @@ static HRESULT SHELL32_ParseNextElement(
|
|||
DWORD *pdwAttributes)
|
||||
{
|
||||
HRESULT hr = E_OUTOFMEMORY;
|
||||
LPITEMIDLIST pidlOut, pidlTemp = NULL;
|
||||
LPITEMIDLIST pidlOut = NULL, pidlTemp = NULL;
|
||||
IShellFolder *psfChild;
|
||||
|
||||
TRACE("(%p, %p, %s)\n",psf, pidlInOut ? *pidlInOut : NULL, debugstr_w(szNext));
|
||||
|
|
Loading…
Reference in New Issue