SOURCES: kdepim-imapjob.patch (NEW) - fixed crash if msg is 0 [KCr...
charles
charles at pld-linux.org
Mon May 29 17:01:15 CEST 2006
Author: charles Date: Mon May 29 15:01:15 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixed crash if msg is 0
[KCrash handler]
#6 0xb61680a6 in QMapPrivateBase::removeAndRebalance ()
from /usr/lib/libqt-mt.so.3
#7 0xb7c9ce64 in KMail::ImapAccountBase::removeJob ()
from /usr/lib/libkmailprivate.so
#8 0xb7cc071c in KMFolderImap::getMessagesResult ()
from /usr/lib/libkmailprivate.so
#9 0xb7cc082e in KMFolderImap::slotGetLastMessagesResult ()
from /usr/lib/libkmailprivate.so
---- Files affected:
SOURCES:
kdepim-imapjob.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/kdepim-imapjob.patch
diff -u /dev/null SOURCES/kdepim-imapjob.patch:1.1
--- /dev/null Mon May 29 17:01:15 2006
+++ SOURCES/kdepim-imapjob.patch Mon May 29 17:01:10 2006
@@ -0,0 +1,11 @@
+--- kdepim-3.5.3/kmail/imapjob.cpp.orig 2006-05-22 20:10:53.000000000 +0200
++++ kdepim-3.5.3/kmail/imapjob.cpp 2006-05-29 16:13:40.356360000 +0200
+@@ -276,7 +276,7 @@
+ {
+ KMMessage *msg = mMsgList.first();
+ KMFolderImap *msgParent = msg ? static_cast<KMFolderImap*>(msg->storage()) : 0;
+- if ( !msgParent || msg->UID() == 0 )
++ if ( !msgParent || !msg || msg->UID() == 0 )
+ {
+ // broken message
+ emit messageRetrieved( 0 );
================================================================
More information about the pld-cvs-commit
mailing list