[Users] [Bug 3322] New: claws-mail crashes when clicking on malformed PNG attachment

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Fri Nov 7 11:15:50 CET 2014


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3322

            Bug ID: 3322
           Summary: claws-mail crashes when clicking on malformed PNG
                    attachment
    Classification: Unclassified
           Product: Claws Mail
           Version: other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI/Message View
          Assignee: users at lists.claws-mail.org
          Reporter: hanno at hboeck.de

When I open a mail with a malformed PNG attached it will crash claws-mail. This
is what the console output says:
(claws-mail:11865): Claws-Mail-WARNING **: Failed to load image
'/home/hanno/.claws-mail/mimetmp/00000007.2670-sample.png': Fatal error in PNG
image file: Read Error


(claws-mail:11865): Claws-Mail-WARNING **: Can't load the image.
**
GdkPixbuf:ERROR:/var/tmp/portage/x11-libs/gdk-pixbuf-2.30.8/work/gdk-pixbuf-2.30.8/gdk-pixbuf/gdk-pixbuf-animation.c:250:gdk_pixbuf_animation_new_from_file:
assertion failed: (animation)


Looks to me as first claws detects that the PNG has errors, however it will
still try to open it via gdk-pixbuf and there the crash happens.

Steps to reproduce:
* Take attached PNG image, send a mail to yourself with file attached
* Open mail, click on PNG attachment

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list