From dad9075f4bbe37ecc5d1c91541534d40c5a2becd Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 15 Dec 2010 14:26:16 +0100 Subject: Fix uninitialized value error in main() in stress-tests.c https://fedorahosted.org/sssd/ticket/732 --- src/tests/stress-tests.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tests') diff --git a/src/tests/stress-tests.c b/src/tests/stress-tests.c index b645c25c..5075348e 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); -- cgit