]> Sergey Matveev's repositories - public-inbox.git/commitdiff
eml: enforce a maximum header length
authorEric Wong <e@yhbt.net>
Sun, 10 May 2020 06:21:04 +0000 (06:21 +0000)
committerEric Wong <e@yhbt.net>
Sun, 10 May 2020 06:56:42 +0000 (06:56 +0000)
While our header processing is more efficient than
Email::*::Header, capping the maximum size for a `m//g' match
still limits memory growth on a header we care for.

Use the same limit as postfix (header_size_limit=102400), since
messages fetched via git/HTTP/NNTP/etc can bypass MTA limits.


No differences found