Re: danger

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Neal Becker
CC: exim-users
Sujet: Re: danger
On Mon, 22 Apr 1996, Neal Becker wrote:

> While purusing daemon.c I noticed something that looks rather scary.
> I see that static void sigchld_handler(int sig) is modifying data
> structures in the signal handler. This may be asking for trouble.
> Also, tests of the structure do not seem to be protected with signal
> blocking.


This code is exactly the same logic as is used in smail, so if it is
bad, there's a long-standing problem in smail too! Would anybody else on
the list care to comment?

--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714