]> 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, 27 May 2020 05:28:17 +0000 (08:28 +0300)
commitb0041cda0a24d4c642307f77018bf65a14208e00
treedd5e199cc40c8c5c55e94d3f9f7f549c9bf61018
parente2eb98d00b215e96dbac0723303d8451ada13b69
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