https://git.reactos.org/?p=reactos.git;a=commitdiff;h=097355db60f1e6543c9d0f2eeab04e8f32c4e398

commit 097355db60f1e6543c9d0f2eeab04e8f32c4e398
Author:     Mark Jansen <[email protected]>
AuthorDate: Fri Jan 24 20:07:24 2020 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Wed Jan 29 22:58:42 2020 +0100

    [NEWDEV] Zero out propsheet data fields
    This prevents +propsheet logging accessing uninitialized data
---
 dll/win32/newdev/wizard.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dll/win32/newdev/wizard.c b/dll/win32/newdev/wizard.c
index a592456808e..ee24b059d8a 100644
--- a/dll/win32/newdev/wizard.c
+++ b/dll/win32/newdev/wizard.c
@@ -1300,9 +1300,9 @@ DisplayWizard(
     IN HWND hwndParent,
     IN UINT startPage)
 {
-    PROPSHEETHEADER psh;
+    PROPSHEETHEADER psh = {0};
     HPROPSHEETPAGE ahpsp[IDD_MAXIMUMPAGE + 1];
-    PROPSHEETPAGE psp;
+    PROPSHEETPAGE psp = {0};
 
     /* zero based index */
     startPage -= IDD_FIRSTPAGE;

Reply via email to