danger

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

If you agree that my concern is well-founded, I can supply some
example code of how to avoid these pitfalls.