mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
xwayland: prevent possible array overrun
This commit is contained in:
parent
e7f1aa30dd
commit
8d5f27ef25
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
static void xsurface_set_net_wm_state(struct wlr_xwayland_surface *xsurface) {
|
||||||
struct wlr_xwm *xwm = xsurface->xwm;
|
struct wlr_xwm *xwm = xsurface->xwm;
|
||||||
uint32_t property[3];
|
uint32_t property[4];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue