diff options
author | Sumit Bose <sbose@redhat.com> | 2010-12-15 14:26:16 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-15 11:06:50 -0500 |
commit | dad9075f4bbe37ecc5d1c91541534d40c5a2becd (patch) | |
tree | 2f68eaf7789f903a36b68cc889053d8736488ba9 /src/tests | |
parent | 5d6b7b93c778e22133f889690c3863c305c1e03f (diff) | |
download | sssd-dad9075f4bbe37ecc5d1c91541534d40c5a2becd.tar.gz sssd-dad9075f4bbe37ecc5d1c91541534d40c5a2becd.tar.bz2 sssd-dad9075f4bbe37ecc5d1c91541534d40c5a2becd.zip |
Fix uninitialized value error in main() in stress-tests.c
https://fedorahosted.org/sssd/ticket/732
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 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); |