https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5972c0c18b965c985a7e5…
commit 5972c0c18b965c985a7e5f392fb343416eb4ee89
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Jan 25 21:57:47 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Tue Jan 25 21:57:47 2022 +0900
[USER32] Fix release build C4700 CORE-16287
---
win32ss/user/user32/misc/exticon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/win32ss/user/user32/misc/exticon.c b/win32ss/user/user32/misc/exticon.c
index 70e7d447a2b..587a32a297f 100644
--- a/win32ss/user/user32/misc/exticon.c
+++ b/win32ss/user/user32/misc/exticon.c
@@ -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)
{