[Akonadi] [Bug 332830] imap crash caceling bad certificate dialog

Daniel Vrátil via KDE Bugzilla bugzilla_noreply at kde.org
Tue Mar 22 00:28:12 GMT 2016


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

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/kima
                   |                            |p/b2b27a3fb6dbc240d46e8fbf2
                   |                            |79366cff3c40996
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |16.04

--- Comment #6 from Daniel Vrátil <dvratil at kde.org> ---
Git commit b2b27a3fb6dbc240d46e8fbf279366cff3c40996 by Daniel Vrátil.
Committed on 22/03/2016 at 00:23.
Pushed by dvratil into branch 'Applications/16.04'.

Fix crash when Session is destroyed while waiting for ignoreSslError()

ignoreSslError() is async and the whole Session including SessionThread
can be deleted in the meantime. Checking against member variable of the
potentially deleted object does not make much sense since the memory can
already be overwritten.

Instead we hold the pointer in a local QPointer variable, which will get
updated when the SessionThread is destroyed while we are waiting for
ignoreSslError() to return.
FIXED-IN: 16.04

M  +5    -3    src/session.cpp

http://commits.kde.org/kimap/b2b27a3fb6dbc240d46e8fbf279366cff3c40996

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kdepim-bugs mailing list