summaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorMikhail Galanin <negram@users.noreply.github.com>2018-08-20 10:28:35 +0100
committerGitHub <noreply@github.com>2018-08-20 10:28:35 +0100
commitf9606fe254533f1cb493230b5ab4ee075cd550f6 (patch)
tree6c0f460dfc3651d054fca4f1b2231576d654fbd3 /src/libserver
parent5dd0a6b7fb33537a0a80c250502b692175d71581 (diff)
parent3318c8590d440fad71c3bbed8f7915a2ecf9f26c (diff)
downloadrspamd-f9606fe254533f1cb493230b5ab4ee075cd550f6.tar.gz
rspamd-f9606fe254533f1cb493230b5ab4ee075cd550f6.zip
Merge branch 'master' into lua-coroutine-model
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/worker_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index cf51eff62..f7bc7c971 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -1048,6 +1048,7 @@ rspamd_set_crash_handler (struct rspamd_main *rspamd_main)
#ifdef HAVE_SIGALTSTACK
stack_t ss;
+ memset (&ss, 0, sizeof ss);
/* Allocate special stack, NOT freed at the end so far */
ss.ss_size = MAX (SIGSTKSZ, 8192 * 4);