diff options
author | nectar <nectar@FreeBSD.org> | 2003-09-03 21:35:56 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-09-03 21:35:56 +0800 |
commit | c59f65fda9abeb8a2c1c3f9f0c64d19edd283056 (patch) | |
tree | 4157f628fe330055e6592e0443a4734cd7342417 | |
parent | d67e39e140647070f2e1101f9d53b5485799377d (diff) | |
download | freebsd-ports-gnome-c59f65fda9abeb8a2c1c3f9f0c64d19edd283056.tar.gz freebsd-ports-gnome-c59f65fda9abeb8a2c1c3f9f0c64d19edd283056.tar.zst freebsd-ports-gnome-c59f65fda9abeb8a2c1c3f9f0c64d19edd283056.zip |
Patch security issue described in
<URL: http://www.exim.org/pipermail/exim-announce/2003q3/000094.html >.
Reported by: Yonatan Bokovza <Yonatan@xpert.com>
-rw-r--r-- | mail/exim-old/Makefile | 2 | ||||
-rw-r--r-- | mail/exim-old/files/patch-src%smtp_in.c | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile index 2de56d2b4218..80d5923743a2 100644 --- a/mail/exim-old/Makefile +++ b/mail/exim-old/Makefile @@ -7,7 +7,7 @@ PORTNAME= exim PORTVERSION= 3.36 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_EXIM} MASTER_SITE_SUBDIR= exim3 diff --git a/mail/exim-old/files/patch-src%smtp_in.c b/mail/exim-old/files/patch-src%smtp_in.c new file mode 100644 index 000000000000..51a9e702a024 --- /dev/null +++ b/mail/exim-old/files/patch-src%smtp_in.c @@ -0,0 +1,29 @@ +*** src/smtp_in.c Thu Apr 4 13:56:20 2002 +--- src/smtp_in.c Thu Aug 14 09:09:33 2003 +*************** +*** 2021,2033 **** + + if (!check_helo(smtp_data)) + { +! char *s; +! smtp_printf("501 syntactically invalid %s argument(s)\r\n", hello); +! if (*smtp_data == 0) strcpy(smtp_data, "(no argument given)"); +! s = string_printing(smtp_data); + log_write(0, LOG_MAIN|LOG_REJECT, "rejected %s from %s: syntactically " + "invalid argument(s): %s", hello, +! (sender_fullhost == NULL)? "local process" : sender_fullhost, s); + break; + } + +--- 2021,2032 ---- + + if (!check_helo(smtp_data)) + { +! smtp_printf("501 Syntactically invalid %s argument(s)\r\n", hello); + log_write(0, LOG_MAIN|LOG_REJECT, "rejected %s from %s: syntactically " + "invalid argument(s): %s", hello, +! (sender_fullhost == NULL)? "local process" : sender_fullhost, +! (*smtp_data == 0)? "(no argument given)" : +! string_printing(smtp_data)); + break; + } |