aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-09-17 20:22:03 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-09-17 20:22:03 +0000
commit83f0aa230ca4cc8a6c2d6b385048cc780c1bef8e (patch)
treefea38f4d3aa7863b19ee92e1bb32cbabb20ba596
parentca59393ddb306a618d4acf227b5da7db5926fbd5 (diff)
downloadsrc-83f0aa230ca4cc8a6c2d6b385048cc780c1bef8e.tar.gz
src-83f0aa230ca4cc8a6c2d6b385048cc780c1bef8e.zip
MFC: sendmail address parsing bug fix
Approved by: so (nectar)
Notes
Notes: svn path=/releng/5.0/; revision=120179
-rw-r--r--UPDATING3
-rw-r--r--contrib/sendmail/src/parseaddr.c4
-rw-r--r--contrib/sendmail/src/version.c2
-rw-r--r--sys/conf/newvers.sh2
4 files changed, 9 insertions, 2 deletions
diff --git a/UPDATING b/UPDATING
index d8eda024cf80..df595bc159b9 100644
--- a/UPDATING
+++ b/UPDATING
@@ -17,6 +17,9 @@ minimal number of processes, if possible, for that patch. For those
updates that don't have an advisory, or to be safe, you can do a full
build and install as described in the COMMON ITEMS section.
+20030917: p14 FreeBSD-SA-03:13.sendmail
+ Fix another address parsing buffer overflow.
+
20030916: p13 FreeBSD-SA-03:12.openssh
Follow-up fixes for OpenSSH oversized packet buffer handling.
diff --git a/contrib/sendmail/src/parseaddr.c b/contrib/sendmail/src/parseaddr.c
index ac2576c1a9be..6a2b4f29d7a0 100644
--- a/contrib/sendmail/src/parseaddr.c
+++ b/contrib/sendmail/src/parseaddr.c
@@ -700,7 +700,11 @@ prescan(addr, delim, pvpbuf, pvpbsize, delimptr, toktab)
addr[MAXNAME] = '\0';
returnnull:
if (delimptr != NULL)
+ {
+ if (p > addr)
+ p--;
*delimptr = p;
+ }
CurEnv->e_to = saveto;
return NULL;
}
diff --git a/contrib/sendmail/src/version.c b/contrib/sendmail/src/version.c
index 8a9183f74683..072cd3d60058 100644
--- a/contrib/sendmail/src/version.c
+++ b/contrib/sendmail/src/version.c
@@ -15,4 +15,4 @@
SM_RCSID("@(#)$Id: version.c,v 8.104.2.5 2002/08/24 16:27:21 ca Exp $")
-char Version[] = "8.12.6p2";
+char Version[] = "8.12.6p3";
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index c3c377738d79..e93788c0810b 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -36,7 +36,7 @@
TYPE="FreeBSD"
REVISION="5.0"
-BRANCH="RELEASE-p13"
+BRANCH="RELEASE-p14"
RELEASE="${REVISION}-${BRANCH}"
VERSION="${TYPE} ${RELEASE}"