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:
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
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