Re: [Exim] Segfault with ignore_target_hosts

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Brian Candler
CC: exim-users
Assumpte: Re: [Exim] Segfault with ignore_target_hosts
On Tue, 13 Mar 2001, Brian Candler wrote:

> I am getting a segfault with ignore_target_hosts, exim-3.22 under both
> FreeBSD-4.1.1 and FreeBSD-4.2.


Here's the fix. Stupid oversight. Sorry about that.

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



*** exim-3.22/src/host.c    Fri Jan 19 09:32:08 2001
--- host.c    Tue Mar 13 12:07:51 2001
***************
*** 1794,1799 ****
--- 1794,1800 ----
        {
        if (h != last)              /* First is not last, overwrite it */
          {
+         if (h->next == last) last = h;
          *h = *(h->next);          /* and reprocess it. */
          goto REDO;                /* C should have redo, like Perl */
          }