mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
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
This commit is contained in:
parent
37c62668cb
commit
14590876b2
13 changed files with 14 additions and 26 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue