qxtpop3 bug variable "current" uninitialized

Issue #89 new
Kofler Richard created an issue

the code if (current != 0) current->cancel(); in void QxtPop3Private::socketError(QAbstractSocket::SocketError err) crashes when reached.

write current = 0;//####!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! in constructor QxtPop3Private::QxtPop3Private() : QObject(0), disableStartTLS(false) and the problem is solved.

Comments (0)

  1. Log in to comment