diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 21:59:52 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 21:59:52 -0500 |
commit | cea77b76b3fef912bd79e777f97d353aa50474b6 (patch) | |
tree | 5f4792d164e62e4b9a257811dd259cc40c053683 /mailnews/imap/src/nsImapProtocol.cpp | |
parent | 05667b0d48b50f434ea48a3065adea6c0a88f226 (diff) | |
download | uxp-cea77b76b3fef912bd79e777f97d353aa50474b6.tar.gz |
Bug 1333038 - Use 'modern' pointers to fix crash due to nsMsgLineStreamBuffer object being deleted while still in use.
Suspected "use after free" in nsMsgLineStreamBuffer::ReadNextLine() leading to crash since object may be destroyed while still in use on another thread.
Tag #1273
Diffstat (limited to 'mailnews/imap/src/nsImapProtocol.cpp')
-rw-r--r-- | mailnews/imap/src/nsImapProtocol.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp index 5e2639a5a4..20cadc25cf 100644 --- a/mailnews/imap/src/nsImapProtocol.cpp +++ b/mailnews/imap/src/nsImapProtocol.cpp @@ -586,7 +586,6 @@ nsImapProtocol::~nsImapProtocol() NS_IF_RELEASE(m_flagState); PR_Free(m_dataOutputBuf); - delete m_inputStreamBuffer; // **** We must be out of the thread main loop function NS_ASSERTION(!m_imapThreadIsRunning, "Oops, thread is still running.\n"); |