[USER32] Fix release build C4700 CORE-16287
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 25 Jan 2022 12:57:47 +0000 (21:57 +0900)
committerKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 25 Jan 2022 12:57:47 +0000 (21:57 +0900)
win32ss/user/user32/misc/exticon.c

index 70e7d44..587a32a 100644 (file)
@@ -515,6 +515,7 @@ static UINT ICO_ExtractIconExW(
                     imageData = peimage + dataOffset;
 #ifdef __REACTOS__
                     /* Calculate the size of color table */
+                    ZeroMemory(&bi, sizeof(bi));
                     CopyMemory(&bi, imageData, sizeof(BITMAPCOREHEADER));
                     if (bi.biBitCount <= 8)
                     {