Re: [Exim] exim 4.02 -bt segfault

Inizio della pagina
Delete this message
Reply to this message
Autore: Philip Hazel
Data:  
To: Patrice Fournier
CC: Kevin Sindhu, exim-users
Oggetto: Re: [Exim] exim 4.02 -bt segfault
On Sun, 31 Mar 2002, Patrice Fournier wrote:

> Exim enters in a Verifying loop


... but only when testing an address with -bt. (Otherwise, I think we
would have heard about this before.)

The fix is below.

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




*** exim-4.02/src/routers/rf_get_errors_address.c   Mon Mar 25 11:09:45 2002
--- routers/rf_get_errors_address.c    Wed Apr  3 11:14:09 2002
***************
*** 66,71 ****
--- 66,72 ----
    }
  else
    {
+   BOOL save_address_test_mode = address_test_mode;
    int save1 = 0;
    int i;
    uschar ***p;
***************
*** 80,85 ****
--- 81,87 ----


    for (i = 0, p = address_expansions; *p != NULL;)
      address_expansions_save[i++] = **p++;
+   address_test_mode = FALSE;


    DEBUG(D_route|D_verify)
      debug_printf("------ Verifying errors address %s ------\n", s);
***************
*** 88,93 ****
--- 90,96 ----
    DEBUG(D_route|D_verify)
      debug_printf("------ End verifying errors address %s ------\n", s);


+   address_test_mode = save_address_test_mode;
    for (i = 0, p = address_expansions; *p != NULL;)
      **p++ = address_expansions_save[i++];