#3988: signed integer overflow in mbox_parse_mailbox --------------------------+---------------------- Reporter: josephbisch | Owner: mutt-dev Type: defect | Status: new Priority: major | Milestone: Component: mutt | Version: Resolution: | Keywords: --------------------------+----------------------
Comment (by vinc17): OK on both points. The bug is now fixed in the master branch, assuming that the mailbox size is less than twice the maximum signed offset, which is necessarily true on 64-bit in practice. And on 32-bit, the mbox file has to be huge (more than 1 GB), but this is controlled by the user and there may be other issues with such a huge mailbox on 32-bit (e.g. lack of address space or other limitation). So I suppose that this fix is sufficient in practice. -- Ticket URL: <https://dev.mutt.org/trac/ticket/3988#comment:5> Mutt <http://www.mutt.org/> The Mutt mail user agent