From 8d5f27ef258dfa10f1b97a9835b92044b789821f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Fri, 9 Aug 2019 16:34:50 +0200 Subject: [PATCH] xwayland: prevent possible array overrun --- xwayland/xwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 34bbd02f..fba098d1 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -291,7 +291,7 @@ static void xwm_surface_activate(struct wlr_xwm *xwm, static void xsurface_set_net_wm_state(struct wlr_xwayland_surface *xsurface) { struct wlr_xwm *xwm = xsurface->xwm; - uint32_t property[3]; + uint32_t property[4]; int i; i = 0;