Re: [PATCH] xwayland: fix access to invalid pointer

2018-08-28 Thread Daniel Stone
Hi, On Tue, 28 Aug 2018 at 21:30, Lionel Landwerlin wrote: > xwl_output->randr_crtc is used in the update_screen_size() function : > > [...] > > @@ -392,14 +392,15 @@ xwl_output_remove(struct xwl_output *xwl_output) > int width = 0, height = 0; > Bool need_rotate =

[PATCH] xwayland: fix access to invalid pointer

2018-08-28 Thread Lionel Landwerlin
xwl_output->randr_crtc is used in the update_screen_size() function : ==5331== Invalid read of size 4 ==5331==at 0x15263D: update_screen_size (xwayland-output.c:190) ==5331==by 0x152C48: xwl_output_remove (xwayland-output.c:413) ==5331==by 0x6570FCD: ffi_call_unix64 (in