[Bug 140660] kmail crash when I make a CTRL + J in inbox

Allen Winter winter at kde.org
Sat Jan 27 15:04:45 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140660         
winter kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From winter kde org  2007-01-27 16:04 -------
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/KDE/3.5/kdepim/kmail/kmfolder.cpp #627640:627641
 @ -426,12 +426,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



More information about the Kdepim-bugs mailing list