aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2019-08-09 16:34:50 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-12 09:37:21 +0900
commit8d5f27ef258dfa10f1b97a9835b92044b789821f (patch)
tree5f73903166a29d6a989c3bb90feb54adad7795d6 /xwayland
parente7f1aa30dd9126eadcb6e41d757a2923ab947243 (diff)
xwayland: prevent possible array overrun
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
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;