diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-06-02 16:24:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-06-02 16:24:27 -0700 |
commit | df37108fecfa182ed905618e90aafcf362d7dab3 (patch) | |
tree | 25aaf0af73e0351e9f5d8c6f94d54b3b345dae7b | |
parent | fd72ec75e09c8a86a5708a4a9f6375038a96a5ce (diff) | |
download | mu-df37108fecfa182ed905618e90aafcf362d7dab3.tar.gz |
3033
-rw-r--r-- | 001help.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/001help.cc b/001help.cc index 1b4c6535..830f50a8 100644 --- a/001help.cc +++ b/001help.cc @@ -107,6 +107,7 @@ initialize_signal_handlers(); // not always necessary, but doesn't hurt // based on https://spin.atomicobject.com/2013/01/13/exceptions-stack-traces-c void initialize_signal_handlers() { struct sigaction action; + bzero(&action, sizeof(action)); action.sa_sigaction = dump_and_exit; sigemptyset(&action.sa_mask); sigaction(SIGABRT, &action, NULL); // assert() failure or integer overflow on linux (with -ftrapv) |