Lines 4-10
Date: Wed, 28 Dec 2022 19:39:06 +0000
Link Here
|
4 |
Subject: [PATCH] Fix recursion on dns_again_means_nonexist. Bug 2911 |
4 |
Subject: [PATCH] Fix recursion on dns_again_means_nonexist. Bug 2911 |
5 |
|
5 |
|
6 |
--- |
6 |
--- |
7 |
doc/ChangeLog | 8 +++++ |
|
|
8 |
src/dns.c | 12 ++++++++ |
7 |
src/dns.c | 12 ++++++++ |
9 |
test/confs/2202 | 18 +++++++++-- |
8 |
test/confs/2202 | 18 +++++++++-- |
10 |
test/scripts/2200-dnsdb/2202 | 8 +++++ |
9 |
test/scripts/2200-dnsdb/2202 | 8 +++++ |
Lines 12-38
Subject: [PATCH] Fix recursion on dns_again_means_nonexist. Bug 2911
Link Here
|
12 |
test/stdout/2202 | 8 +++++ |
11 |
test/stdout/2202 | 8 +++++ |
13 |
6 files changed, 108 insertions(+), 4 deletions(-) |
12 |
6 files changed, 108 insertions(+), 4 deletions(-) |
14 |
|
13 |
|
15 |
--- a/doc/ChangeLog |
|
|
16 |
+++ b/doc/ChangeLog |
17 |
@@ -33,10 +33,18 @@ JH/14 Bug 2933: Fix regex substring matc |
18 |
JH/18 Fix a fencepost error in logging. Previously (since 4.92) when a log line |
19 |
was exactly sized compared to the log buffer, a crash occurred with the |
20 |
misleading message "bad memory reference; pool not found". |
21 |
Found and traced by Jasen Betts. |
22 |
|
23 |
+JH/19 Bug 2911: Fix a recursion in DNS lookups. Previously, if the main option |
24 |
+ dns_again_means_nonexist included an element causing a DNS lookup which |
25 |
+ iteslf returned DNS_AGAIN, unbounded recursion occurred. Possible results |
26 |
+ included (though probably not limited to) a process crash from stack |
27 |
+ memory limit, or from excessive open files. Replace this with a paniclog |
28 |
+ whine (as this is likely a configuration error), and returning |
29 |
+ DNS_NOMATCH. |
30 |
+ |
31 |
|
32 |
|
33 |
Exim version 4.96 |
34 |
----------------- |
35 |
|
36 |
--- a/src/dns.c |
14 |
--- a/src/dns.c |
37 |
+++ b/src/dns.c |
15 |
+++ b/src/dns.c |
38 |
@@ -799,10 +799,11 @@ int |
16 |
@@ -799,10 +799,11 @@ int |