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

Daniel Vrátil <dvra...@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 <dvra...@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.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to