Crash in SHELL32_ParseNextElement
Gregg Mattinson
gm138242 at scot.canada.sun.com
Fri Jul 12 09:11:33 CDT 2002
ChangeLog: dlls/shell32/shlfolder.c
- Initialized the pidlOut variable in SHELL32_ParseNextElement to prevent a
crash in some cases.
Gregg Mattinson
Co-op Developer
Sun Microsystems of Canada
-------------- next part --------------
Index: dlls/shell32/shlfolder.c
===================================================================
RCS file: /opcom/comp/ws/wine/CVSROOT/wine/dlls/shell32/shlfolder.c,v
retrieving revision 1.2
diff -u -r1.2 shlfolder.c
--- /tmp/T0CLaqCW Thu Jul 11 14:23:12 2002
+++ shlfolder.c Thu Jul 11 11:54:51 2002
@@ -119,7 +119,7 @@
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));
More information about the wine-patches
mailing list