Re: [Exim] Segfault with ignore_target_hosts

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Brian Candler
Cc: exim-users
Asunto: 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 */
          }