Re: [PATCH weston] window: fix NULL pointer dereference

2013-07-16 Thread Mariusz Ceier
I used attached program to trigger it - it's modified fullscreen.c client with 2 subsurfaces. When I run it, press 'f' to make the main surface fullscreen and move pointer over blue border, I get the crash. On 16 July 2013 18:59, Rob Bradford wrote: > On 16 July 2013 01:25, Mariusz Ceier wro

Re: [PATCH weston] window: fix NULL pointer dereference

2013-07-16 Thread Rob Bradford
On 16 July 2013 01:25, Mariusz Ceier wrote: > > NULL pointer dereference happens when input->focus_widget == NULL > and input->grab == NULL. > I worry this is working around the problem rather than addressing the root cause. Why are we getting NULL for the focus_widget? What steps did you take t

[PATCH weston] window: fix NULL pointer dereference

2013-07-15 Thread Mariusz Ceier
NULL pointer dereference happens when input->focus_widget == NULL and input->grab == NULL. Signed-off-by: Mariusz Ceier --- clients/window.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/clients/window.c b/clients/window.c index cbfe12f..9933cb9 100644 --