Bug#637067: Bug is in libgtk-3-0, not in notification-daemon

Vincent Bernat bernat at luffy.cx
Sat Aug 27 18:38:07 UTC 2011


clone 637067 -1
reassign -1 libgtk-3-0
retitle -1 gtk_tray_icon_get_visual_property may segfault
tags -1 + patch
forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=649588
block 637067 by -1
thanks

Hi!

After   some   digging,   I   have   located  the   culprit.   this   is
gtk_tray_icon_get_visual_property()  function  that  segfault  when  the
visual is NULL.  Attached is a simple patch  (forwarded upstream) fixing
this issue.

I  clone this  bug  and attach  the  clone to  libgtk-3-0.  I leave  the
original bug report open to ensure it is easy to find.

I am no  X expert, so I don't  know if it is normal if  the condition in
gtk_tray_icon_get_visual_property()  to  have   a  non  NULL  visual  is
false.  Maybe  there  is  another  problem. However,  with  this  patch,
notification-daemon works fine. Please, apply it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-gtk_tray_icon_get_visual_property-when-visual-no.patch
Type: text/x-diff
Size: 1371 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110827/9a824b92/attachment.patch>
-------------- next part --------------

-- 
Vincent Bernat ? http://vincent.bernat.im

Don't diddle code to make it faster - find a better algorithm.
            - The Elements of Programming Style (Kernighan & Plauger)


More information about the pkg-gnome-maintainers mailing list