summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/daemon.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2003-03-03 17:09:13 +0000
committergshapiro <gshapiro@FreeBSD.org>2003-03-03 17:09:13 +0000
commit8b739caa56202c57ac3a53e04d5b561d17b20b6c (patch)
treec4b8d0d0ebe91f329b287df46f58ccc920e3b626 /contrib/sendmail/src/daemon.c
parent5f679456e6cc5d369320dfb497d26e22f47f34f0 (diff)
downloadFreeBSD-src-8b739caa56202c57ac3a53e04d5b561d17b20b6c.zip
FreeBSD-src-8b739caa56202c57ac3a53e04d5b561d17b20b6c.tar.gz
Import sendmail 8.12.8
Diffstat (limited to 'contrib/sendmail/src/daemon.c')
-rw-r--r--contrib/sendmail/src/daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/sendmail/src/daemon.c b/contrib/sendmail/src/daemon.c
index 5f8f146..d12e162 100644
--- a/contrib/sendmail/src/daemon.c
+++ b/contrib/sendmail/src/daemon.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1988, 1993
@@ -13,7 +13,7 @@
#include <sendmail.h>
-SM_RCSID("@(#)$Id: daemon.c,v 8.613.2.11 2002/12/05 16:13:52 ca Exp $")
+SM_RCSID("@(#)$Id: daemon.c,v 8.613.2.14 2003/02/11 17:17:22 ca Exp $")
#if defined(SOCK_STREAM) || defined(__GNU_LIBRARY__)
# define USE_SOCK_STREAM 1
@@ -3518,7 +3518,7 @@ getauthinfo(fd, may_be_forged)
if (i < 0 || p == &ibuf[0])
goto noident;
- if (*--p == '\n' && *--p == '\r')
+ if (p >= &ibuf[2] && *--p == '\n' && *--p == '\r')
p--;
*++p = '\0';
OpenPOWER on IntegriCloud