[PATCH 2/2] Don't pass uninitialized data to MCM_SETTODAY, test isn't about this.

Nikolay Sivov bunglehead at gmail.com
Thu Nov 19 07:20:20 CST 2009


---
 dlls/comctl32/tests/monthcal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c
index de6df2d..a7aeddd 100644
--- a/dlls/comctl32/tests/monthcal.c
+++ b/dlls/comctl32/tests/monthcal.c
@@ -1243,6 +1243,7 @@ static void test_monthcal_today(void)
     /* Setter and Getters for "today" information */
 
     /* check for overflow, should be ok */
+    memset(&st_test, 0, sizeof(st_test));
     st_test.wDay = 38;
     st_test.wMonth = 38;
 
-- 
1.5.6.5


--=-oJ5IzuhYJ5brr0IB7CAw--




More information about the wine-patches mailing list