View | Details | Raw Unified | Return to bug 50984 | Differences between
and this patch

Collapse All | Expand All

(-)exim/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	exim
8
PORTNAME=	exim
9
PORTVERSION=	${EXIM_VERSION}
9
PORTVERSION=	${EXIM_VERSION}
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	mail
11
CATEGORIES=	mail
12
MASTER_SITES=	ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
12
MASTER_SITES=	ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
13
		http://www.exim.org/ftp/exim4/ \
13
		http://www.exim.org/ftp/exim4/ \
(-)exim/files/patch-src::auths::plaintext.c (+11 lines)
Line 0 Link Here
1
--- src/auths/plaintext.c.orig	Tue Apr  1 14:53:33 2003
2
+++ src/auths/plaintext.c	Tue Apr  1 14:53:40 2003
3
@@ -93,7 +93,7 @@
4
   if (Ustrcmp(data, "=") == 0)
5
     {
6
     expand_nstring[++expand_nmax] = US"";
7
-    expand_nstring[expand_nmax] = 0;
8
+    expand_nlength[expand_nmax] = 0;
9
     }
10
   else
11
     {
(-)exim/files/patch-src::auths::plantext.c (-11 lines)
Lines 1-11 Link Here
1
--- src/auths/plaintext.c.orig	Tue Apr  1 14:53:33 2003
2
+++ src/auths/plaintext.c	Tue Apr  1 14:53:40 2003
3
@@ -93,7 +93,7 @@
4
   if (Ustrcmp(data, "=") == 0)
5
     {
6
     expand_nstring[++expand_nmax] = US"";
7
-    expand_nstring[expand_nmax] = 0;
8
+    expand_nlength[expand_nmax] = 0;
9
     }
10
   else
11
     {
(-)exim/files/patch-src::rewrite.c (+11 lines)
Line 0 Link Here
1
--- src/rewrite.c.orig	Tue Mar 11 13:20:22 2003
2
+++ src/rewrite.c	Tue Apr 15 14:48:37 2003
3
@@ -261,7 +261,7 @@
4
         while (*p2 == ' ') p2++;
5
         pf2 = parse_fix_phrase(p2, Ustrlen(p2), buff2, sizeof(buff2));
6
 
7
-        start = Ustrlen(buff1) + start + new - p1;
8
+        start = Ustrlen(pf1) + start + new - p1;
9
         end = start + Ustrlen(newparsed);
10
         new = string_sprintf("%s%.*s%s", pf1, p2 - p1, p1, pf2);
11
         }
(-)exim/files/patch-src::transports::appendfile.c (+13 lines)
Line 0 Link Here
1
--- src/transports/appendfile.c.orig	Tue Mar 11 13:20:23 2003
2
+++ src/transports/appendfile.c	Tue Apr 15 14:46:18 2003
3
@@ -702,7 +702,9 @@
4
     if (pcre_exec(regex, NULL, CS name, Ustrlen(name), 0, 0, ovector,6) >= 2)
5
       {
6
       int size;
7
-      Ustrncpy(buffer, name + ovector[2], ovector[3] - ovector[2]);
8
+      int n = ovector[3] - ovector[2];
9
+      Ustrncpy(buffer, name + ovector[2], n);
10
+      buffer[n] = 0;
11
       size = Uatoi(buffer);
12
       sum += size;
13
       DEBUG(D_transport)

Return to bug 50984