Re: [Mutt] #3057: mutt-1.5.18: mutt crashes while accessing imap
#3057: mutt-1.5.18: mutt crashes while accessing imap mailboxes defined
Comment (by pdmef):
Thanks for the quick response. :) I assume this patch fixes it?
{{{
diff --git a/imap/browse.c b/imap/browse.c
--- a/imap/browse.c
+++ b/imap/browse.c
@@ -228,7 +228,7 @@ int imap_mailbox_state (const char* path
return -1;
}
- if (!imap_mxcmp(mx.mbox, idata->mailbox))
+ if (idata->ctx && !imap_mxcmp(mx.mbox, idata->mailbox))
{
state->new = idata->ctx->new;
state->messages = idata->ctx->msgcount;
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3057#comment:5>