Crash in SHELL32_ParseNextElement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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));

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux