aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/conf.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-01-24 07:58:16 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-01-24 07:58:16 +0000
commit0433731d974c870659822798adc562c51bc95047 (patch)
treeafe3e77bdf705191c37921ec3518f6119ebd0baa /contrib/sendmail/src/conf.c
parent09e5a4cea95e097a2de6e40ccb0b0f20fe4d9da1 (diff)
downloadsrc-0433731d974c870659822798adc562c51bc95047.tar.gz
src-0433731d974c870659822798adc562c51bc95047.zip
Implement header Denial of service fix as in -current. These files are
not tracking the vendor branch so there is duplication (did I mention that cvs branching sucks when doing this?) Obtained from: sendmail.org
Notes
Notes: svn path=/stable/3/; revision=43154
Diffstat (limited to 'contrib/sendmail/src/conf.c')
-rw-r--r--contrib/sendmail/src/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/sendmail/src/conf.c b/contrib/sendmail/src/conf.c
index 82e7543f1047..d2e826e1c955 100644
--- a/contrib/sendmail/src/conf.c
+++ b/contrib/sendmail/src/conf.c
@@ -284,6 +284,8 @@ setdefaults(e)
ColonOkInAddr = TRUE;
DontLockReadFiles = TRUE;
DoubleBounceAddr = "postmaster";
+ MaxHeaderLines = MAXHDRLINES;
+ MaxHeaderLineLength = MAXHDRLINELEN;
snprintf(buf, sizeof buf, "%s%sdead.letter",
_PATH_VARTMP,
_PATH_VARTMP[sizeof _PATH_VARTMP - 2] == '/' ? "" : "/");