Closed Bug 58794 Opened 24 years ago Closed 24 years ago

deleting IMAP folder crashes application

Categories

(MailNews Core :: Networking: IMAP, defect, P3)

x86
Linux

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 58748

People

(Reporter: cls, Assigned: mscott)

Details

(Keywords: crash)

Subject says it all.  To reproduce: click on any sub-folder of INBOX and delete
it.  Warning: if you test this with gdb, use the 'delete' key to delete the
folder instead of the menu item or you risk the chance of freezing the X
server's event loop.  

The problem appears to be that

rv = GetTrashFolder(getter_AddRefs(trashFolder));

fails on line 1686 but there's no check for a failure condition.  And then we
dereference that pointer at line 1695.  Crash. Boom.
Keywords: crash
This is a dup of 58748 which just got fixed.

*** This bug has been marked as a duplicate of 58748 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe based on buster's Nov. 1 analysis in bug 58748.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.