From kde-bugs-dist Thu May 17 15:14:59 2007 From: "Pradeepto K.Bhattacharya" Date: Thu, 17 May 2007 15:14:59 +0000 To: kde-bugs-dist Subject: [Bug 140660] Crash and data loss after applying filters Message-Id: <20070517151459.11175.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=117941491710133 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=140660 pradeepto kde org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Additional Comments From pradeepto kde org 2007-05-17 17:14 ------- SVN commit 665658 by pradeepto: Merge .. from 3.5 ... SVN commit 627641 by winterz: Fix for the grave bug "kmail crash when I make a CTRL + J in inbox" BUGS: 140660 M +2 -2 kmfolder.cpp --- branches/kdepim/enterprise/kdepim/kmail/kmfolder.cpp #665657:665658 @ -422,12 +422,12 @ int KMFolder::find( const KMMsgBase* msg ) const { - return mStorage->find( msg ); + return mStorage ? mStorage->find( msg ) : 0; } int KMFolder::find( const KMMessage* msg ) const { - return mStorage->find( msg ); + return mStorage ? mStorage->find( msg ) : 0; } int KMFolder::count( bool cache ) const