author | alwin <alwin> | 2003-12-10 12:45:01 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-10 12:45:01 (UTC) |
commit | 66aa51039689ab2dab153469d7f6527bcedd9318 (patch) (side-by-side diff) | |
tree | d27e68fa02af9c50514b9d9effcd67e28b86f66d /noncore/net/mail/libmailwrapper/pop3wrapper.cpp | |
parent | b09fe710918a447f37c7ec92a6becb9953ada063 (diff) | |
download | opie-66aa51039689ab2dab153469d7f6527bcedd9318.zip opie-66aa51039689ab2dab153469d7f6527bcedd9318.tar.gz opie-66aa51039689ab2dab153469d7f6527bcedd9318.tar.bz2 |
when login failed for pop3 software crashed due not checked NULL pointer
Diffstat (limited to 'noncore/net/mail/libmailwrapper/pop3wrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/pop3wrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp index 2aaff30..72f3c36 100644 --- a/noncore/net/mail/libmailwrapper/pop3wrapper.cpp +++ b/noncore/net/mail/libmailwrapper/pop3wrapper.cpp @@ -28,4 +28,5 @@ void POP3wrapper::listMessages( QList<RecMail> &target ) login(); + if (!m_pop3) return; mailpop3_list( m_pop3, &messages ); |