[exim] Re: Potential logic error in retry handling for IPv4+…

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: exim-users
Assumpte: [exim] Re: Potential logic error in retry handling for IPv4+IPv6 hosts
Philip Hazel <ph10@???> wrote:
[...]
> I have not looked at the source, but the patch should be trivial; just
> delete (or skip) the code that processes the additional section.

[...]

I see. I think this should do the trick:
---------------
--- exim-4.60/src/host.c.orig    2006-01-01 15:15:21.614492448 +0100
+++ exim-4.60/src/host.c    2006-01-01 14:08:54.374645040 +0100
@@ -2882,7 +2882,8 @@
 items (which is typically only 3 or 4 long anyway.) Add extra host items for
 multi-homed hosts. */


-for (rr = dns_next_rr(&dnsa, &dnss, RESET_ADDITIONAL);
+/*for (rr = dns_next_rr(&dnsa, &dnss, RESET_ADDITIONAL);*/
+for (rr = dns_next_rr(&dnsa, &dnss, RESET_NEXT);
      rr != NULL;
      rr = dns_next_rr(&dnsa, &dnss, RESET_NEXT))
   {
---------------


At least Marc's way to reproduce the bug does not work anymore.
               cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde