[EXIM] Exim 2.04 fixes inetd bug

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: exim-announce
Sujet: [EXIM] Exim 2.04 fixes inetd bug
I'm afraid I made a rather nasty boo-boo when making a "small" change to
Exim for 2.03, the result of which is that incoming calls via inetd are
bypassing the host checking. The patch is trivial, and is below. I have
put a new version (2.04) on the ftp site:

ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/exim-2.04.tar.gz

e4be71bb4a9d2a15351aa008859b0c70 exim-2.04.tar.gz

There is also a patch file in

ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/exim-patch-2.03-2.04.gz

The patch below is the only change to the code (the full patch changes
the version number and the ChangeLog file as well as exim.c). If you are
not using inetd to call Exim, there is no need to upgrade.

Sorry about that. Obviously I need another holiday :-)

Philip

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



Index: src/exim.c
*** exim-2.03/src/exim.c    Tue Sep 15 20:52:17 1998
--- exim-2.04/src/exim.c    Fri Sep 18 12:13:12 1998
***************
*** 2496,2505 ****
    sender_host_notsocket = TRUE;
    }


! /* Otherwise, set the sender host as unknown. This prevents host checking in
! the case of -bs not from inetd and also for -bS. */

! else sender_host_unknown = TRUE;

  /* If stdout does not exist, then dup stdin to stdout. This can happen
  if exim is started from inetd. In this case fd 0 will be set to the socket,
--- 2496,2505 ----
    sender_host_notsocket = TRUE;
    }


! /* Otherwise, set the sender host as unknown except for inetd calls. This
! prevents host checking in the case of -bs not from inetd and also for -bS. */

! else if (!is_inetd) sender_host_unknown = TRUE;

/* If stdout does not exist, then dup stdin to stdout. This can happen
if exim is started from inetd. In this case fd 0 will be set to the socket,





--
*** Exim information can be found at http://www.exim.org/ ***