diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-05-16 16:29:12 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-05-16 16:29:12 +0000 |
commit | bdb614e264d73aef418058cc22beac80b1c6026b (patch) | |
tree | 651d12b16a08aad155bea4b4cf4698edb90010d6 /dumpcap.c | |
parent | 46e202503a13b6e06110901cf28e0537d6054dcf (diff) |
Fix a bunch of uninitialized variables found by Coverity Scan. CIDs
702403, 702404, 702405, 702406, 702407, 702408, 702409, 702410, 702411,
and 702412.
svn path=/trunk/; revision=42658
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4069,6 +4069,7 @@ main(int argc, char *argv[]) * our signal handler returns we don't want to restart * a call that was waiting for packets to arrive. */ + memset(&action, 0, sizeof(action)); action.sa_flags = 0; sigemptyset(&action.sa_mask); sigaction(SIGTERM, &action, NULL); |