]> git.pld-linux.org Git - packages/exim.git/blame - exim-git-manual.patch
Rel 15; upstream fixes
[packages/exim.git] / exim-git-manual.patch
CommitLineData
32deb7b7
AM
1From e7ec503729970a03d4509921342bc81313976126 Mon Sep 17 00:00:00 2001
2From: Jeremy Harris <jgh146exb@wizmail.org>
3Date: Tue, 12 Jul 2022 22:14:04 +0100
4Subject: [PATCH] Fix exit on attempt to rewrite a malformed address. Bug 2903
5
6diff --git a/src/src/rewrite.c b/src/src/rewrite.c
7index bfd78b5..90614e6 100644
8--- a/src/src/rewrite.c
9+++ b/src/src/rewrite.c
10@@ -497,15 +497,14 @@ while (*s)
11
12 if (!recipient)
13 {
14- /* Handle unparesable addresses in the header. Slightly ugly because a
15+ /* Log unparesable addresses in the header. Slightly ugly because a
16 null output from the extract can also result from a header without an
17- address, "To: undisclosed recpients:;" being the classic case. */
18+ address, "To: undisclosed recpients:;" being the classic case. Ignore
19+ this one and carry on. */
20
21 if ((rewrite_rules || routed_old) && Ustrcmp(errmess, "empty address") != 0)
22- {
23 log_write(0, LOG_MAIN, "rewrite: %s", errmess);
24- exim_exit(EXIT_FAILURE);
25- }
26+
27 loop_reset_point = store_reset(loop_reset_point);
28 continue;
29 }
30
This page took 0.241288 seconds and 4 git commands to generate.