r1699 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Jul 15 12:22:06 CEST 2007


Author: phk
Date: 2007-07-15 12:22:05 +0200 (Sun, 15 Jul 2007)
New Revision: 1699

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_child.c
Log:
Initialize all bits in the sigaction.


Modified: trunk/varnish-cache/bin/varnishd/mgt_child.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_child.c	2007-07-15 07:52:30 UTC (rev 1698)
+++ trunk/varnish-cache/bin/varnishd/mgt_child.c	2007-07-15 10:22:05 UTC (rev 1699)
@@ -410,6 +410,7 @@
 
 	setproctitle("Varnish-Mgr %s", heritage.name);
 
+	memset(&sac, 0, sizeof sac);
 	sac.sa_handler = SIG_IGN;
 	sac.sa_flags = SA_RESTART;
 




More information about the varnish-commit mailing list