GNOME Bugzilla – Bug 541045
Task attachment w/o mime type causes segfault when opened (w/ patch)
Last modified: 2009-09-03 12:44:39 UTC
A task with a type-less attachment caused a seg fault when it was opened in evolution. The crash was traced back to a failure to detect the missing mime type and substitute our favorite 'application/octet-stream' in its place. The attached patch does as much, which is probably a kludge, but prevents at least this crash.
Created attachment 113760 [details] [review] Use application/octet-stream when attachment is missing mime type
Fejj, can you look at this patch? Thanks
Do you have any scenario/mbox/ical file to reproduce the issue ?
Sadly, the cases that were crashing were all full of secret stuff, and now that I've been running with my patch in place, I haven't had any further crashes. If I can recall what caused this, it was an email with an attachment (probably power point) that I converted to a task; that caused the mime type from the attachment to be lost (a separate bug, surely). Opening the generated task caused the fault.
Anyways, seems safe to me. so commit to trunk
Patch committed to SVN trunk as r9456 http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=9456
Why is this still opened?