mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 12:53:11 +00:00
[NEWDEV] Zero out propsheet data fields
This prevents +propsheet logging accessing uninitialized data
This commit is contained in:
parent
c09636f946
commit
097355db60
1 changed files with 2 additions and 2 deletions
|
@ -1300,9 +1300,9 @@ DisplayWizard(
|
||||||
IN HWND hwndParent,
|
IN HWND hwndParent,
|
||||||
IN UINT startPage)
|
IN UINT startPage)
|
||||||
{
|
{
|
||||||
PROPSHEETHEADER psh;
|
PROPSHEETHEADER psh = {0};
|
||||||
HPROPSHEETPAGE ahpsp[IDD_MAXIMUMPAGE + 1];
|
HPROPSHEETPAGE ahpsp[IDD_MAXIMUMPAGE + 1];
|
||||||
PROPSHEETPAGE psp;
|
PROPSHEETPAGE psp = {0};
|
||||||
|
|
||||||
/* zero based index */
|
/* zero based index */
|
||||||
startPage -= IDD_FIRSTPAGE;
|
startPage -= IDD_FIRSTPAGE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue