Re: danger

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Neal Becker
CC: exim-users
題目: 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