https://git.reactos.org/?p=reactos.git;a=commitdiff;h=09edc062baf04e382008a…
commit 09edc062baf04e382008ae5a255812c98499eb52
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Fri Jan 24 20:07:38 2020 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Wed Jan 29 22:58:42 2020 +0100
[SYSSETUP] Zero out propsheet data fields
This prevents +propsheet logging accessing uninitialized data
---
dll/win32/syssetup/wizard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/syssetup/wizard.c b/dll/win32/syssetup/wizard.c
index bd5e6118301..d3aaf7c71f3 100644
--- a/dll/win32/syssetup/wizard.c
+++ b/dll/win32/syssetup/wizard.c
@@ -2661,7 +2661,7 @@ typedef DWORD(WINAPI *PFNREQUESTWIZARDPAGES)(PDWORD, HPROPSHEETPAGE
*, PSETUPDAT
VOID
InstallWizard(VOID)
{
- PROPSHEETHEADER psh;
+ PROPSHEETHEADER psh = {0};
HPROPSHEETPAGE *phpage = NULL;
PROPSHEETPAGE psp = {0};
UINT nPages = 0;