From: phk Date: Sun, 15 Jul 2007 10:22:05 +0000 (+0000) Subject: Initialize all bits in the sigaction. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67378333315f09cacfce2f0545b05d7095bf92f4;p=varnish Initialize all bits in the sigaction. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1699 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_child.c b/varnish-cache/bin/varnishd/mgt_child.c index f6a0b7e2..6445f726 100644 --- a/varnish-cache/bin/varnishd/mgt_child.c +++ b/varnish-cache/bin/varnishd/mgt_child.c @@ -410,6 +410,7 @@ mgt_run(int dflag, const char *T_arg) setproctitle("Varnish-Mgr %s", heritage.name); + memset(&sac, 0, sizeof sac); sac.sa_handler = SIG_IGN; sac.sa_flags = SA_RESTART;