diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/stress-tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/stress-tests.c b/src/tests/stress-tests.c index b645c25c1..5075348e1 100644 --- a/src/tests/stress-tests.c +++ b/src/tests/stress-tests.c @@ -274,6 +274,7 @@ int main(int argc, const char *argv[]) /* Reap the children in a handler asynchronously so we can * somehow protect against too many processes */ + memset(&action, 0, sizeof(action)); action.sa_handler = child_handler; sigemptyset(&action.sa_mask); sigaddset(&action.sa_mask, SIGCHLD); |