[PATCH 14/16] Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied
Nikolay Sivov
bunglehead at gmail.com
Sat Nov 28 08:31:52 CST 2009
---
dlls/comctl32/tests/header.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tests/header.c b/dlls/comctl32/tests/header.c
index b7fe8e5..8d6ad1f 100644
--- a/dlls/comctl32/tests/header.c
+++ b/dlls/comctl32/tests/header.c
@@ -1267,6 +1267,7 @@ static void test_hds_nosizing(HWND hParent)
hChild = create_custom_header_control(hParent, FALSE);
+ memset(&hdItem, 0, sizeof(hdItem));
hdItem.mask = HDI_WIDTH;
hdItem.cxy = 80;
--
1.5.6.5
--=-uMnCxEjgKIE401fSvUh+--
More information about the wine-patches
mailing list