Thomas Faller : winex11.drv: Fix uninitialized memory.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 28 07:42:28 CDT 2015


Module: wine
Branch: master
Commit: 8c1c7d19fe1bbcb9e9ca9daf5a454a1d15a44c5d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8c1c7d19fe1bbcb9e9ca9daf5a454a1d15a44c5d

Author: Thomas Faller <tfaller1 at gmx.de>
Date:   Thu Aug 27 23:19:46 2015 +0200

winex11.drv: Fix uninitialized memory.

---

 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 7651590..b7ec06e 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1024,6 +1024,7 @@ void update_net_wm_states( struct x11drv_win_data *data )
         xev.xclient.send_event = True;
         xev.xclient.format = 32;
         xev.xclient.data.l[3] = 1;
+        xev.xclient.data.l[4] = 0;
 
         for (i = 0; i < NB_NET_WM_STATES; i++)
         {




More information about the wine-cvs mailing list