Explorar o código

fix uninitialized values

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
fef8577200
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/workers.c

+ 1 - 0
src/core/workers.c

@@ -1181,6 +1181,7 @@ void _starpu_handler(int sig)
 void _starpu_catch_signals(void)
 {
 	struct sigaction act;
+	memset(&act, 0, sizeof(act));
 	act.sa_handler = _starpu_handler;
 
 	sigaction(SIGINT, &act, &act_sigint);