summaryrefslogtreecommitdiff
path: root/mail/exim3/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exim3/patches/patch-ad')
-rw-r--r--mail/exim3/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/exim3/patches/patch-ad b/mail/exim3/patches/patch-ad
new file mode 100644
index 00000000000..fde81f00b4a
--- /dev/null
+++ b/mail/exim3/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.2.2 2004/05/30 08:48:32 grant Exp $
+
+--- src/accept.c.orig Thu Apr 4 13:56:16 2002
++++ src/accept.c
+@@ -1895,7 +1895,7 @@ if (headers_check_syntax)
+ char *verb = "is";
+ int len;
+
+- while (*t != ':') *tt++ = *t++;
++ while (*t != ':' && tt < &hname[sizeof(hname)-2]) *tt++ = *t++;
+ *tt = 0;
+
+ /* Arrange not to include any white space at the end in the