Re: [Exim] exim segvaulting on debian testing

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: Daniel Tiefnig, Exim-Users (E-mail), Philip Hazel
Αντικείμενο: Re: [Exim] exim segvaulting on debian testing
Daniel Tiefnig wrote:

> Yes, that's it. After downgrade every message that first segvaulted
> produced a 'Too many "Received" headers' error.
>
>> But I can't reproduce that crash here. :-/


Ok, I can reproduce it now.

Philip, the problem seems to be that return_path is NULL in this case.
So, when return_path_on_delivery is activated in the log_selectors, this
code from deliver.c fails (around line 1075 in exim4.31):

if ((log_selector & L_return_path_on_delivery) != 0)
{
debug_printf("RP: %s\n",(return_path ? return_path : US"(**NULL**)"));
s = mac_cat2(s, &size, &ptr, US" P=<", return_path);
s = string_cat(s, &size, &ptr, US">", 1);
}

The debug_printf verifies that.

Nico