Hi,

One more potential rakes with sqiuid: call to signal() doesn't check for errors

\src\tools.c ->squid_signal(int sig, SIGHDLR * func, int flags)

---------------8<--------------
#else
signal(sig, func);
#endif
---------------8<--------------
I propose to change it to something like:
#else
if (SIG_ERR == signal(sig, func))
debug(50, 0) ("WARNING: signal: sig=%d func=%p: %s\n", sig, func, xstrerror());
#endif


SY,
Evgeny Kotsuba

Reply via email to