mutter/src
Olivier Fourdan 52fdd24467 wayland: avoid a crash in is_effectively_synchronized()
To check if a subsurface is effectively synchronized, we walk the
subsurface hierarchy to look for a non-subsurface parent or a subsurface
being synchronized.

However, when client is closing, the parent surface might already be
gone, in which case we end up with a surface being NULL which causes a
NULL pointer dereference and a crash.

Check if the parent surface is NULL to avoid the crash, and consider
it's already synchronized if it is NULL to avoid further updates.

Fixes: https://gitlab.gnome.org/GNOME/mutter/issues/124
2018-05-03 11:39:33 +02:00
..
backends idle-monitor: Don't try to auto-start SessionManager 2018-04-30 13:55:41 +00:00
compositor wayland: Abstract access to the actor corresponding to a wl_surface 2018-04-23 12:24:46 +02:00
core window: Let implementations finish state changes 2018-04-25 21:55:05 -03:00
meta window: rename get_flatpack_id into get_sandboxed_app_id 2017-10-21 13:36:16 -05:00
tests monitor-unit-tests: Add non upright panel test 2017-12-25 17:01:45 +08:00
ui theme, frames: Use surface device scale instead of cairo_scale 2018-04-20 14:38:57 +00:00
wayland wayland: avoid a crash in is_effectively_synchronized() 2018-05-03 11:39:33 +02:00
x11 window: Let implementations finish state changes 2018-04-25 21:55:05 -03:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile-tests.am src/Makefile-tests.am: Remove reference to non-existing file 2017-09-02 11:09:28 +08:00
Makefile.am idle-monitor: Take idle inhibition into account 2018-04-16 13:28:03 +02:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml DisplayConfig: Add 'legacy-ui-scaling-factor' property 2017-10-12 17:42:52 +08:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00