mutter/src
Ray Strode 42b3a34f7b idle-monitor-xsync: fix crash if watch callback removes different watch
Right now the XSync based idle monitoring code, will fetch all active
watches into a list, and then call their watch callbacks one by one
as necessary.  If one watch callback invalidates another watch, the
list will contain free'd memory.

This commit makes sure to consult the hash table after ever call
of a watch callback, to ensure mutter never looks at freed memory.

Fixes crash reported on IRC by Laine Stump with his synergy setup.

https://bugzilla.gnome.org/show_bug.cgi?id=760330
2016-01-11 11:23:39 -05:00
..
backends idle-monitor-xsync: fix crash if watch callback removes different watch 2016-01-11 11:23:39 -05:00
compositor Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
core Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
meta Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
tests tests: Add test for testing that setting a parent affects the stack 2015-12-23 14:59:36 +08:00
ui Revert "frame: Don't allow resizing of edges that are constrained" 2016-01-10 15:16:06 +01:00
wayland Revert "Add "size states" which save window size information" 2016-01-10 15:16:09 +01:00
x11 Revert "Add "size states" which save window size information" 2016-01-10 15:16:09 +01:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in meta: Add generated meta-version.h 2014-06-05 14:05:16 +02:00
Makefile-tests.am tests: Add test for testing that setting a parent affects the stack 2015-12-23 14:59:36 +08:00
Makefile.am wayland: Use xdg shell protocol from wayland-protocols 2015-11-26 16:55:35 +08: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 Rename the DBus interface files 2014-03-31 23:44:46 -04:00
org.gnome.Mutter.IdleMonitor.xml Rename the DBus interface files 2014-03-31 23:44:46 -04:00
stamp-mutter-enum-types.h Install enum types 2015-07-05 22:01:59 -07:00