[Bug 257274] Crahes while copying/moving mails on an IMAP account
Laurent Montel
montel at kde.org
Tue Nov 23 11:25:53 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=257274
Laurent Montel <montel at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |montel at kde.org
Resolution| |FIXED
--- Comment #1 from Laurent Montel <montel kde org> 2010-11-23 12:25:52 ---
Fixed in kdepim-4.4.5 or 4.4.6
void FolderStorage::takeMessages(const QList<KMMessage*>& msgList)
{
for( QList<KMMessage*>::const_iterator it = msgList.begin();
it != msgList.end(); ++it )
{
KMMessage *msg = (*it);
if (msg->parent())
{
int idx = msg->parent()->find(msg);
if( idx >= 0 )
take(idx);
}
}
}
so we can't take a idx == -1
=> it will not crash now
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list