[exim] Exim core dump

Top Pagina
Delete this message
Reply to this message
Auteur: Alex Kiernan
Datum:  
Aan: exim-users
Onderwerp: [exim] Exim core dump
We've just rolled out a new box and we're getting core dumps from exim
4.68 on Solaris 10 x86 (two in 24 hours, so its not like its all the
time) - I'm 99% certain this is the problem:

--- host.c    11 Jan 2007 13:51:00 +0000    1.1.1.28
+++ host.c    18 Oct 2007 09:57:02 +0100    
@@ -1502,7 +1502,7 @@
 treat this as non-existent. In some operating systems, this is returned as an
 empty string; in others as a single dot. */


-if (hosts->h_name[0] == 0 || hosts->h_name[0] == '.')
+if (hosts->h_name == NULL || hosts->h_name[0] == 0 || hosts->h_name[0] == '.')
   {
   HDEBUG(D_host_lookup) debug_printf("IP address lookup yielded an
empty name: "
     "treated as non-existent host name\n");


But I've not tested it yet as I can't for the life of me work out in
what circumstances that situation should occur (and my x86 stack
tracing isn't up to the job...)

--
Alex Kiernan