[PATCH] winex11drv: Fix uninitialized memory access appearing in multiple tests (Valgrind) (resend)
Indrek Altpere
efbiaiinzinz at hotmail.com
Wed May 20 23:45:56 CDT 2015
---
dlls/winex11.drv/window.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 06e2294..de39a44 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -701,6 +701,7 @@ static void set_size_hints( struct x11drv_win_data *data, DWORD style )
static void set_mwm_hints( struct x11drv_win_data *data, DWORD style, DWORD ex_style )
{
MwmHints mwm_hints;
+ memset(&mwm_hints, 0, sizeof(mwm_hints));
if (data->hwnd == GetDesktopWindow())
{
--
1.9.1
More information about the wine-patches
mailing list