Re: [Exim] SEGV in test release

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Chris Edwards
CC: exim-users
Subject: Re: [Exim] SEGV in test release
On Mon, 15 Nov 1999, Chris Edwards wrote:

> We've stumbled across a domain - marin.ntnu.no - which appears to give the
> 3.092 testing version some trouble. Doing:
>
>    exim -bt u@???

>
> crashes roughly 1 in 3 times I try it.


Thanks to your useful information and analysis, I have easily spotted
the mistake I made in fixing a previous bug for doing the right thing
when a set of MX records contains multiple entries for the same host
name (which is the case here). The fix is as follows:

*** exim-3.092/src/host.c   Thu Nov  4 14:37:14 1999
--- host.c      Mon Nov 15 15:20:11 1999
***************
*** 1608,1613 ****
--- 1608,1614 ----
          get rid of it by cutting it out. */


          prev->next = h->next;
+         if (h == last) last = prev;
          break;
          }
        }


I'm expecting to be putting out 3.093 in a few days' time - it will have
this fix in it, plus one or two other lesser tidies.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.