[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 140660] Crash and data loss after applying filters
From:       "Pradeepto K.Bhattacharya" <pradeepto () kde ! org>
Date:       2007-05-17 15:14:59
Message-ID: 20070517151459.11175.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic