summaryrefslogtreecommitdiffstats
path: root/debian/patches/75_15-deliver.patch
blob: 0c2ca2772d107f076d7c22c2dca68f9227759fe5 (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
From 2bafe3fc82cf62f0c21f939f5891b8d067f3abc7 Mon Sep 17 00:00:00 2001
From: "Heiko Schlittermann (HS12-RIPE)" <hs@schlittermann.de>
Date: Sat, 3 Apr 2021 10:54:22 +0200
Subject: [PATCH 15/23] deliver

---
 src/deliver.c  | 5 +++--
 test/paniclog/0622 | 2 +-
 test/stderr/0622   | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/deliver.c b/src/deliver.c
index 8b7998f37..87e944b03 100644
--- a/src/deliver.c
+++ b/src/deliver.c
@@ -6153,9 +6153,10 @@ else if (system_filter && process_recipients != RECIP_FAIL_TIMEOUT)
           if (!tmp)
             p->message = string_sprintf("failed to expand \"%s\" as a "
               "system filter transport name", tpname);
-	  if (is_tainted2(tmp, 0, m = string_sprintf("Tainted values '%s' "
-              "for transport '%s' as a system filter", tmp, tpname)))
+          { uschar *m;
+	  if (m = is_tainted2(tmp, 0, "Tainted values '%s' " "for transport '%s' as a system filter", tmp, tpname))
             p->message = m;
+          }
           tpname = tmp;
           }
         else
-- 
2.30.2