summaryrefslogtreecommitdiff
blob: 41232c07ec724169db1f28c6ebf00f8188ddd2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 8246d967bbcf174482ef01b1bf4920a5944b1011 Mon Sep 17 00:00:00 2001
From: David Beer <dbeer@adaptivecomputing.com>
Date: Wed, 13 Nov 2013 10:47:48 -0700
Subject: [PATCH] Use Michael Jenning's patch for CVE 2013-4495 instead of the
 original. This one is being used because 2.5 should face the minimal possible
 change.

---
 src/server/svr_mail.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/server/svr_mail.c b/src/server/svr_mail.c
index 26b6dd7..241bdfc 100644
--- a/src/server/svr_mail.c
+++ b/src/server/svr_mail.c
@@ -372,11 +372,9 @@ void svr_mailowner(
     exit(1);
     }
 
-  sprintf(cmdbuf, "%s -f %s %s",
-
+  sprintf(cmdbuf, "%s -t -f %s",
           SENDMAIL_CMD,
-          mailfrom,
-          mailto);
+          mailfrom);
 
   outmail = (FILE *)popen(cmdbuf, "w");
 
-- 
1.8.3.2