Re: [PATCH weston 2/2] xwm: check whether the picked seat can be NULL

2014-08-19 Thread Pekka Paalanen
On Sun, 6 Jul 2014 11:44:58 +0800 Boyan Ding stu_...@126.com wrote: The seat picked in weston_wm_window_handle_moveresize can sometimes be NULL when it is (somehow) triggered with all buttons released. This patch checks whether the seat is NULL to avoid NULL dereference. Fixes:

Re: [PATCH weston 2/2] xwm: check whether the picked seat can be NULL

2014-08-19 Thread Boyan Ding
On Tue, 2014-08-19 at 16:53 +0300, Pekka Paalanen wrote: I was not able to reproduce the crash without the patch, and using gnome-terminal, either. Actually I'm also curious about how is the problem triggered, and I reproduced it on my machine just now. And I'm even more astonished to see this

[PATCH weston 2/2] xwm: check whether the picked seat can be NULL

2014-07-05 Thread Boyan Ding
The seat picked in weston_wm_window_handle_moveresize can sometimes be NULL when it is (somehow) triggered with all buttons released. This patch checks whether the seat is NULL to avoid NULL dereference. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=80837 Signed-off-by: Boyan Ding