bad pnm file causes assert in gdk-pixbuf
The attached broken pnm file crashes with an assert if passed to gdk_pixbuf_animation_new_from_file(). I'll also attach a simple test program that takes a file as a parameter and will pass it to that function.
Output:
GdkPixbuf:ERROR:/var/tmp/portage/x11-libs/gdk-pixbuf-2.36.12/work/gdk-pixbuf-2.36.12/gdk-pixbuf/gdk-pixbuf-animation.c:248:gdk_pixbuf_animation_new_from_file: assertion failed: (animation)
This can cause applications to crash. (E.g. in claws-mail when one sends such a file attached to a mail and the recipient clicks on the attachment it will crash claws.)crash.pnmgdk-parse.c