mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Patch security issue described in
<URL: http://www.exim.org/pipermail/exim-announce/2003q3/000094.html >. Reported by: Yonatan Bokovza <Yonatan@xpert.com>
This commit is contained in:
parent
63e7ba1d38
commit
b38f49d58f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88436
2 changed files with 30 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= exim
|
||||
PORTVERSION= 3.36
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${MASTER_SITE_EXIM}
|
||||
MASTER_SITE_SUBDIR= exim3
|
||||
|
|
29
mail/exim-old/files/patch-src%smtp_in.c
Normal file
29
mail/exim-old/files/patch-src%smtp_in.c
Normal file
|
@ -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;
|
||||
}
|
Loading…
Add table
Reference in a new issue