summaryrefslogtreecommitdiff
path: root/mail/exim-old
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-06-11 15:07:51 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-06-11 15:07:51 +0000
commit474b85df2cc1473fc7af4d4b25c532d7a314add0 (patch)
tree8a6cbdd65385d467769c93ad3a0acba0d65a3272 /mail/exim-old
parentUpdate to version 2.18 (diff)
Apply officially sanctioned patch to close a format string vulnerability
in exim batch SMTP mode. The vulnerability is _not_ exploitable by external SMTP callers.
Notes
Notes: svn path=/head/; revision=43849
Diffstat (limited to 'mail/exim-old')
-rw-r--r--mail/exim-old/Makefile2
-rw-r--r--mail/exim-old/files/patch-src::accept.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index 935b05fe09c2..6b9b62e06879 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -7,7 +7,7 @@
PORTNAME= exim
PORTVERSION= 3.22
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
http://www.exim.org/ftp/ \
diff --git a/mail/exim-old/files/patch-src::accept.c b/mail/exim-old/files/patch-src::accept.c
new file mode 100644
index 000000000000..c74c9178b5b7
--- /dev/null
+++ b/mail/exim-old/files/patch-src::accept.c
@@ -0,0 +1,11 @@
+--- src/accept.c.orig Mon Jun 11 17:00:24 2001
++++ src/accept.c Mon Jun 11 17:01:30 2001
+@@ -2503,7 +2503,7 @@
+ nothing on success. The function moan_smtp_batch() does not return -
+ it exits from the program with a non-zero return code. */
+
+- else if (smtp_reply != NULL) moan_smtp_batch(NULL, smtp_reply);
++ else if (smtp_reply != NULL) moan_smtp_batch(NULL, "%s", smtp_reply);
+ }
+
+ /* Reset headers so that logging of rejects for a subsequent message doesn't