1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Add Security fix

http://www.sendmail.org/parse8.359.2.8.html
Approved by:	marcus (portmgr)
This commit is contained in:
Dirk Meyer 2003-09-18 07:18:28 +00:00
parent 81da8e3d90
commit d7ba07b6c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89041
4 changed files with 32 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= sendmail
PORTVERSION= 8.11.7
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}

View File

@ -0,0 +1,15 @@
diff -u -r8.359.2.8 parseaddr.c
--- sendmail/parseaddr.c 3 Apr 2003 16:20:54 -0000 8.359.2.8
+++ sendmail/parseaddr.c 16 Sep 2003 18:06:22 -0000
@@ -700,7 +700,11 @@
addr[MAXNAME] = '\0';
returnnull:
if (delimptr != NULL)
+ {
+ if (p > addr)
+ --p;
*delimptr = p;
+ }
CurEnv->e_to = saveto;
return NULL;
}

View File

@ -7,6 +7,7 @@
PORTNAME= sendmail
PORTVERSION= 8.11.7
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}

View File

@ -0,0 +1,15 @@
diff -u -r8.359.2.8 parseaddr.c
--- sendmail/parseaddr.c 3 Apr 2003 16:20:54 -0000 8.359.2.8
+++ sendmail/parseaddr.c 16 Sep 2003 18:06:22 -0000
@@ -700,7 +700,11 @@
addr[MAXNAME] = '\0';
returnnull:
if (delimptr != NULL)
+ {
+ if (p > addr)
+ --p;
*delimptr = p;
+ }
CurEnv->e_to = saveto;
return NULL;
}