summaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail/cf
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-21 19:37:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-21 19:37:26 +0000
commit396b9e13463e960e78b5fef1af45b1c9eef26528 (patch)
treef241057a2984c4e95f0f8c935b18d00a57e36f32 /usr.sbin/sendmail/cf
parentf2af2a6b757299f91ae6577ecdf0f275d367de38 (diff)
official fix for sendmail header length DoS
Diffstat (limited to 'usr.sbin/sendmail/cf')
-rw-r--r--usr.sbin/sendmail/cf/m4/proto.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sendmail/cf/m4/proto.m4 b/usr.sbin/sendmail/cf/m4/proto.m4
index 8e79454bc04..cce5e3241d1 100644
--- a/usr.sbin/sendmail/cf/m4/proto.m4
+++ b/usr.sbin/sendmail/cf/m4/proto.m4
@@ -478,6 +478,10 @@ ifdef(`confMAX_MIME_HEADER_LENGTH',
`# Maximum MIME header length to protect MUAs
O MaxMimeHeaderLength=confMAX_MIME_HEADER_LENGTH
')
+ifdef(`confMAX_HEADER_LINES',
+`# Maximum number of header lines and header line length limit
+O MaxHeaderLines=confMAX_HEADER_LINES
+')
###########################
# Message precedences #