]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-mail: message-parser - Support limiting max number of MIME parts
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 23 Apr 2020 14:09:33 +0000 (17:09 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 12 Aug 2020 13:34:57 +0000 (13:34 +0000)
commitbe53a118e789886efcdd57c513651c5148651161
tree653e6063bdb4f2cbadd5f4d8dc629729c3ad33ee
parent7868f5f49be91fe51795b477a5440e69c1540716
lib-mail: message-parser - Support limiting max number of MIME parts

The default is to allow 10000 MIME parts. When it's reached, no more
MIME boundary lines will be recognized, so the rest of the mail belongs
to the last added MIME part.
src/lib-mail/message-parser-private.h
src/lib-mail/message-parser.c
src/lib-mail/message-parser.h
src/lib-mail/test-message-parser.c