[PATCH weston] window: fix NULL pointer dereference

Mariusz Ceier mceier+wayland at gmail.com
Tue Jul 16 10:40:12 PDT 2013

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 <robert.bradford at intel.com> wrote:

> On 16 July 2013 01:25, Mariusz Ceier <mceier+wayland at gmail.com> 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 to generate a segfault here? Perhaps you could
> open a bug
> Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130716/cef22d58/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fullscreen2.c
Type: text/x-csrc
Size: 11269 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130716/cef22d58/attachment-0001.c>

More information about the wayland-devel mailing list