mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
Fix potential SEGV on long header when verify = header_syntax is used
this is not set not in the default configuration, check with grep 'verify.*=.*header_syntax' /usr/local/etc/exim/configure <http://www.guninski.com/exim1.html>
This commit is contained in:
parent
580907f6e3
commit
dd6e9f9b90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108560
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= exim
|
||||
PORTVERSION= ${EXIM_VERSION}+${EXISCAN_VERSION}
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${MASTER_SITE_EXIM}
|
||||
MASTER_SITE_SUBDIR= exim4
|
||||
|
22
mail/exim/files/patch-src::verify.c
Normal file
22
mail/exim/files/patch-src::verify.c
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Fix SEGV on long headers when verify = header_syntax is used
|
||||
# <http://www.guninski.com/exim1.html>
|
||||
#
|
||||
--- src/verify.c.orig Thu May 6 15:46:44 2004
|
||||
+++ src/verify.c Thu May 6 15:47:27 2004
|
||||
@@ -1264,14 +1264,9 @@
|
||||
|
||||
if (recipient == NULL && Ustrcmp(errmess, "empty address") != 0)
|
||||
{
|
||||
- uschar hname[64];
|
||||
- uschar *t = h->text;
|
||||
- uschar *tt = hname;
|
||||
+ uschar *t;
|
||||
uschar *verb = US"is";
|
||||
int len;
|
||||
-
|
||||
- while (*t != ':') *tt++ = *t++;
|
||||
- *tt = 0;
|
||||
|
||||
/* Arrange not to include any white space at the end in the
|
||||
error message. */
|
Loading…
x
Reference in New Issue
Block a user