#3288: seg fault in mx_update_context
----------------------+-----------------------------------------------------
Reporter: prlw1 | Owner: brendan
Type: defect | Status: accepted
Priority: critical | Milestone: 1.6
Component: IMAP | Version: 1.5.20
Keywords: patch |
----------------------+-----------------------------------------------------
Comment(by brendan):
I think this patch could be dangerous because it can lead to mutt and the
IMAP server having inconsistent sequence numbers for messages in a
mailbox. This means that an expunge message from the server could cause
the wrong message to be removed from the mutt mailbox. It might be enough
to set h->index to h.sid - 1 as part of your patch, but I'm not sure. I
may see about just not skipping the messages with null bodies.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3288#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent