Bug#777142: patch - make gdk_event_apply_filters function safe against changes in filter list

Vlad Orlov monsta at inbox.ru
Thu Feb 5 14:58:04 UTC 2015

Source: gtk+2.0
Version: 2.24.25-1
Severity: critical
Justification: breaks unrelated software
Tags: jessie sid patch
Control: forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=635380
Control: affects -1 mate-control-center


A serious flaw in gdk_event_apply_filters function is causing weird crashes
in various software. For example, mate-display-properties crashes when
the screen resolution is changed or a new monitor is plugged in [1]. Some
other older bugs like [2] and [3] also might be caused by this one.

I've cherry-picked a patch from GTK+3 and adapted it to GTK+2. The patch
fixes the issue for good. I've tested it with mate-display-properties - it doesn't
crash anymore after GTK+2 is patched.

The debdiff is in the attachment.
Hope to see it accepted soon. Thanks in advance.

[1] https://bugs.debian.org/760445
[2] https://bugs.debian.org/708559
[3] https://bugs.debian.org/718269
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk2-debdiff
Type: application/octet-stream
Size: 11437 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150205/20587a82/attachment.obj>

More information about the pkg-gnome-maintainers mailing list