[ros-diffs] [arty] 36420: This bug could've caused mayhem in the icon cache. (coverity 790).

arty at svn.reactos.org arty at svn.reactos.org
Tue Sep 23 10:58:20 CEST 2008


Author: arty
Date: Tue Sep 23 03:58:19 2008
New Revision: 36420

URL: http://svn.reactos.org/svn/reactos?rev=36420&view=rev
Log:
This bug could've caused mayhem in the icon cache.  (coverity 790).

Modified:
    trunk/reactos/base/shell/explorer/shell/entries.cpp

Modified: trunk/reactos/base/shell/explorer/shell/entries.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/shell/entries.cpp?rev=36420&r1=36419&r2=36420&view=diff
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/entries.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/shell/entries.cpp [iso-8859-1] Tue Sep 23 03:58:19 2008
@@ -374,7 +374,7 @@
 		if (!(flags & ICF_OVERLAYS)) {
 			IExtractIcon* pExtract;
 			if (SUCCEEDED(GetUIObjectOf(0, IID_IExtractIcon, (LPVOID*)&pExtract))) {
-				unsigned gil_flags;
+				unsigned gil_flags = 0;
 				int idx;
 
 				if (flags & ICF_OPEN)



More information about the Ros-diffs mailing list