blob: 7db99b5da207e9e82f6ecd2ebcf84a9711f6d8ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
This patch fixes a segfault that happens when the IMAP server sends some
additional flags for the same message ID, see upstream bug
http://bugs.mutt.org/3288
--- imap/message.c
+++ imap/message.c
@@ -288,7 +288,7 @@
continue;
}
/* May receive FLAGS updates in a separate untagged response (#2935) */
- if (idx < ctx->msgcount)
+ if (ctx->hdrs[idx] != NULL)
{
dprint (2, (debugfile, "imap_read_headers: message %d is not new\n",
h.sid));
|