Commit 25ee95cd authored by Gregg Mattinson's avatar Gregg Mattinson Committed by Alexandre Julliard

Initialized the pidlOut variable in SHELL32_ParseNextElement to

prevent a crash in some cases.
parent 2996c57f
...@@ -119,7 +119,7 @@ static HRESULT SHELL32_ParseNextElement( ...@@ -119,7 +119,7 @@ static HRESULT SHELL32_ParseNextElement(
DWORD *pdwAttributes) DWORD *pdwAttributes)
{ {
HRESULT hr = E_OUTOFMEMORY; HRESULT hr = E_OUTOFMEMORY;
LPITEMIDLIST pidlOut, pidlTemp = NULL; LPITEMIDLIST pidlOut = NULL, pidlTemp = NULL;
IShellFolder *psfChild; IShellFolder *psfChild;
TRACE("(%p, %p, %s)\n",psf, pidlInOut ? *pidlInOut : NULL, debugstr_w(szNext)); TRACE("(%p, %p, %s)\n",psf, pidlInOut ? *pidlInOut : NULL, debugstr_w(szNext));
......
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