Version: 1.9.6 (using KDE KDE 3.5.6) Installed from: Ubuntu Packages0 OS: Linux I've invalid mails with an empty charset specification in the Content-Type header, like: Content-Type: text/plain; charset= kmail sigsegvs when reading them from a maildir mail box.
Created attachment 21168 [details] patches crash on empty charset specification we tested this patch with the offending mails and works fine.
Thanks for the patch! Can you please do the following: Attach a backtrace of the crash, so I can see if there are any duplicate reports Attach an offending mail (remove all personal info of course) so I can test it myself Mail the patch to the KDE PIM mailinglist (kde-pim at kde dot org) for review. The core developers of KMail are not actively monitoring the bug tracker. I am also occasionally contributiong, but I don't yet have enough knowledge of KMail to review patches.
I created such a test myself and it didn't crash on KMail 1.11.0. I assume it's fixed.
works with current svn trunk