]> 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)
committerRichard Russon <rich@flatcap.org>
Wed, 24 May 2017 01:13:36 +0000 (02:13 +0100)
commite84b974927ae544caa1365ef97acb9baad1a043f
tree7d365d6ee3c2625fe6a3510289a17259fbd59d8b
parente76987c5df9d63c7d88da6c31c9a9c9262fd552a
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