Re: [PATCH weston] SIGSEGV in window.c

2013-08-29 Thread Kristian Høgsberg
On Tue, Aug 27, 2013 at 10:13:09PM +0100, Paul Winwood wrote: > Please go easy with me; this is the first time I have ever done > this! I have found and fixed a SIGSEGV in window.c in > pointer_handle_motion caused by dereferencing 'window' when it is > null. There was a null pointer check after

[PATCH weston] SIGSEGV in window.c

2013-08-27 Thread Paul Winwood
Please go easy with me; this is the first time I have ever done this! I have found and fixed a SIGSEGV in window.c in pointer_handle_motion caused by dereferencing 'window' when it is null. There was a null pointer check after the dereference. The fix is to move the check before it. Patch: --- w