sigaction was called with partially uninitialized data
This commit is contained in:
parent
939a7058e6
commit
ff1bc1d2e4
|
@ -47,6 +47,7 @@ static int _init_init(void)
|
|||
{
|
||||
struct sigaction sa;
|
||||
|
||||
memset(&sa, 0, sizeof(sa));
|
||||
sa.sa_handler = _init_sighandler;
|
||||
sigfillset(&sa.sa_mask);
|
||||
if(sigaction(SIGCHLD, &sa, NULL) == -1
|
||||
|
|
Loading…
Reference in New Issue
Block a user