[Wine-patches] [eter-2.0.0 2/4] oleaut32: Explicitly initialize idReserved field in the icon directory header. (eterbug #8330)
    Dmitry Timoshkov 
    dtimoshkov на etersoft.ru
       
    Пн Июн  4 07:40:05 MSK 2012
    
    
  
---
 dlls/oleaut32/olepicture.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index 3e3b4cb..c99eb81 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -1605,6 +1605,7 @@ static int serializeIcon(HICON hIcon, void ** ppBuffer, unsigned int * pLength)
 			pIconDir = (CURSORICONFILEDIR *)pIconData;
 			pIconDir->idType = 1;
 			pIconDir->idCount = 1;
+			pIconDir->idReserved = 0;
 
 			/* Fill out the CURSORICONFILEDIRENTRY */
 			pIconEntry = (CURSORICONFILEDIRENTRY *)(pIconData + 3 * sizeof(WORD));
-- 
1.7.10.1
    
    
Подробная информация о списке рассылки Wine-patches