[Bug 238708] Crash viewing a inline opengpg signed message

Till Adam adam at kde.org
Thu May 27 20:29:47 BST 2010


https://bugs.kde.org/show_bug.cgi?id=238708


Till Adam <adam at kde.org> changed:

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




--- Comment #4 from Till Adam <adam kde org>  2010-05-27 21:29:24 ---
SVN commit 1131243 by tilladam:

Fix porting bug to make Comparator actually compare correctly.

This was crashing std::sort which apparenty for optimization reasons
requires a < b to imply !(b < a). qSort, on the other hand, avoids the
problem. The crash only showed up with sufficiently large keyrings, as
apparently std::sort, likely again for optimization reasons, uses a
simpler sort for shorter containers, which doesn't run into this issue.
Fun bug, took Volker and me most of the train ride from Osnabrueck to
Berlin to figure out why and how this happens, boring our travel
companion to tears in the process. Geek out!

BUG: 238708

 M  +2 -1      kpgpkey.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1131243

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list