diff --git a/src/ext/sigfault.c b/src/ext/sigfault.c index e15a45a6e6c4..5293f3d84304 100644 --- a/src/ext/sigfault.c +++ b/src/ext/sigfault.c @@ -18,6 +18,7 @@ void setup_sigfault_handler() { altstack.ss_flags = 0; sigaltstack(&altstack, NULL); + sigemptyset(&action.sa_mask); action.sa_flags = SA_ONSTACK | SA_SIGINFO; action.sa_sigaction = &sigfault_handler;