Don't crash. This is while downloading parts of an imap message, not saving attachements.
Don't crash. This is while downloading parts of an imap message, not
saving attachements.

Ingo, does that need to be caught further up?

0x4021e497 in KMFolder::crlf2lf(char*, unsigned) (str=0x0, strLen=0) at kmail/kmfolder.cpp:1105
1105        if ( *source == '\r' && *( source + 1 ) == '\n' )
(gdb) bt
#0  0x4021e497 in KMFolder::crlf2lf(char*, unsigned) (str=0x0, strLen=0) at kmail/kmfolder.cpp:1105
#1  0x4022a287 in KMReaderWin::writeMessagePartToTempFile(KMMessagePart*, int) (this=0x8350c30, aMsgPart=0x86cd7ac, aPartNum=3)
    at kmail/kmreaderwin.cpp:1323
#2  0x4031feff in KMail::ObjectTreeParser::writePartIcon(KMMessagePart*, int, bool) (this=0xbfffdc90, msgPart=0x86cd7ac, partNum=3, inlineImage=false)
        at kmail/objecttreeparser.cpp:1660
#3  0x403194ae in KMail::ObjectTreeParser::defaultHandling(partNode*, KMail::ProcessResult&) (this=0xbfffdc90, node=0x86cd798, result=@0xbfffdc40)
            at kmail/objecttreeparser.cpp:280

svn path=/trunk/kdepim/; revision=266274

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi