From 9554e82c47b60c27dac6054fd43d33706d12adde Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 27 May 2019 01:50:38 +1000 Subject: [PATCH] [common] fix failure to initialize structure --- VERSION | 2 +- common/src/crash.linux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index f48134e9..41a73c33 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-rc2-1-g9b1f5b52a6+1 \ No newline at end of file +B1-rc2-5-g4cf2c7a350+1 \ No newline at end of file diff --git a/common/src/crash.linux.c b/common/src/crash.linux.c index 9cd9cee3..69bb7241 100644 --- a/common/src/crash.linux.c +++ b/common/src/crash.linux.c @@ -206,7 +206,7 @@ static void crit_err_hdlr(int sig_num, siginfo_t * info, void * ucontext) bool installCrashHandler(const char * exe) { - struct sigaction sigact; + struct sigaction sigact = { 0 }; crash.exe = realpath(exe, NULL); sigact.sa_sigaction = crit_err_hdlr;