]> granicus.if.org Git - neomutt/commit
Small imap fetch fixes. (see #3942)
authorKevin McCarthy <kevin@8t8.us>
Mon, 22 May 2017 01:45:08 +0000 (18:45 -0700)
committerKevin McCarthy <kevin@8t8.us>
Mon, 22 May 2017 01:45:08 +0000 (18:45 -0700)
commitcefc030cb3c1606896030c12fc194be914dfbed7
tree4c36703f03d6a4978da4d81481acc95a0bf1bf30
parenta9141e1a672671b8c3177c6aa87339f4ad73c807
Small imap fetch fixes. (see #3942)

Add an integer overflow test, pulled from mx_alloc_memory(), since the
count comes from a potentially hostile server.

After reviewing the RFC a bit, it turns out the server is not supposed
to send EXPUNGE responses during a FETCH.  Change the comment, but
keep the conservative code.
imap/message.c