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

List:       kde-bugs-dist
Subject:    [Bug 140660] kmail crash when I make a CTRL + J in inbox
From:       Allen Winter <winter () kde ! org>
Date:       2007-01-27 15:04:45
Message-ID: 20070127150445.3465.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         
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
[prev in list] [next in list] [prev in thread] [next in thread] 

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