Public bug reported:

Binary package hint: gthumb

gthumb                    3:2.11.1-2ubuntu1 (ubuntu lucid)

gthumb crashes if dbus has been restarted. I looked over the source
codes. This small patch fixes the problem.

below is patch that fixes use of uninitialized variable leading to crash when
dbus is restarted (and ck session is lost).

Signed-off-by: Lukas Hejtmanek <xhejt...@ics.muni.cz>


diff -rNu a/gthumb/gth-icon-cache.c b/gthumb/gth-icon-cache.c
--- a/gthumb/gth-icon-cache.c   2010-03-11 10:54:10.673089507 +0100
+++ b/gthumb/gth-icon-cache.c   2010-03-11 10:51:53.000000000 +0100
@@ -118,7 +118,7 @@
 gth_icon_cache_get_pixbuf (GthIconCache *icon_cache,
                           GIcon        *icon)
 {
-       const char *key;
+       const char *key=0;
        GdkPixbuf  *pixbuf;

        if (icon != NULL)

** Affects: gthumb (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gthumb crashes if dbus has been restarted
https://bugs.launchpad.net/bugs/537238
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gthumb in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to