Summary: | claws-mail crashes when clicking on malformed PNG attachment | ||||||
---|---|---|---|---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Hanno Boeck <hanno> | ||||
Component: | UI/Message View | Assignee: | users | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | other | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Hanno Boeck
2014-11-07 11:15:50 UTC
Created attachment 1447 [details]
malformed png file
> gdk_pixbuf_animation_new_from_file: assertion failed: (animation)
animation = gdk_pixbuf_animation_new_from_file(imgfile, &error);
gdk-pixbuf should not crash upon trying to detect the file contents. The two args given to gdk_pixbuf_animation_new_from_file() are still valid, especially the "imgfile" file name ptr, and it crashes later in an assertion:
gdk-pixbuf-animation.c
247
248 if (success) {
249 /* If there was no error, there must be an anima
tion that was successfully loaded */
250 g_assert (animation);
251 } else {
252 if (animation) {
maybe this is this? https://bugzilla.gnome.org/show_bug.cgi?id=695228 Seems a fix was committed over a year ago but it wasn't backported to the stable release. Sorry, I was wrong. The upstream fix seems to be applied already on my version, so this is probably another issue. Will try to create a small testcase. closing this, as its not a Claws Mail bug. FYI, reported to gdk-pixbuf upstream: https://bugzilla.gnome.org/show_bug.cgi?id=739785 |