danger

Inizio della pagina
Delete this message
Reply to this message
Autore: Neal Becker
Data:  
To: exim-users
Oggetto: 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.