Skip to content

Commit 47b45da

Browse files
committedFeb 4, 2018
Fix: uninitialized sa_mask value in sigfault ext
1 parent 322d1c4 commit 47b45da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎src/ext/sigfault.c

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ void setup_sigfault_handler() {
1818
altstack.ss_flags = 0;
1919
sigaltstack(&altstack, NULL);
2020

21+
sigemptyset(&action.sa_mask);
2122
action.sa_flags = SA_ONSTACK | SA_SIGINFO;
2223
action.sa_sigaction = &sigfault_handler;
2324

0 commit comments

Comments
 (0)
Please sign in to comment.