]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-mail: message-parser - Support limiting max number of nested MIME parts
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 23 Apr 2020 13:59:40 +0000 (16:59 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 27 May 2020 05:28:17 +0000 (08:28 +0300)
commite2eb98d00b215e96dbac0723303d8451ada13b69
treee8b5d0f0f70e742c88bff8e930badf8cc2e01c0e
parent21dcfcccec70f867498a40f804f4313246e69fa3
lib-mail: message-parser - Support limiting max number of nested MIME parts

The default is to allow 100 nested MIME parts. When the limit is reached,
the innermost MIME part's body contains all the rest of the inner bodies
until a parent MIME part is reached.
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