IMAP: Fix crash when session is destroyed during password request

Authored by dvratil on Jan 7 2017, 1:05 PM.

Description

IMAP: Fix crash when session is destroyed during password request

This can happen when there's a certificate problem, then the
m_pendingInitialSession is set to null before the onPasswordRequestDone()
is called, which ends up in dereferencing a nullptr in killSession().

BUG: 353653
FIXED-IN: 5.4.1

Details

Committed
dvratilJan 7 2017, 1:06 PM
Parents
R44:1302bbba0946: IMAP: don't start STORE job with no flags
Branches
Unknown
Tags
Unknown