1 This patch fixes a segfault that happens when the IMAP server sends some
2 additional flags for the same message ID, see upstream bug
3 http://bugs.mutt.org/3288
10 /* May receive FLAGS updates in a separate untagged response (#2935) */
11 - if (idx < ctx->msgcount)
12 + if (ctx->hdrs[idx] != NULL)
14 dprint (2, (debugfile, "imap_read_headers: message %d is not new\n",