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
2018-04-22 00:52:19 +02:00
2015-07-06 00:52:18 -07:00
2018-04-30 05:56:32 +00:00
2014-03-18 20:37:35 -04:00
2017-05-11 13:45:44 +02:00
2018-04-25 20:25:43 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2018-04-25 20:25:43 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%