aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-14 14:15:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-14 14:15:01 +0000
commit91516a1fd63de8423db146794f72bff8ec0191fa (patch)
tree78d064a574c6c9577c49b52bda72bd48c52522ca /src/libserver/rspamd_control.c
parent7fffcf4121b7650062c516356f9aa8448d9f3d51 (diff)
downloadrspamd-91516a1fd63de8423db146794f72bff8ec0191fa.tar.gz
rspamd-91516a1fd63de8423db146794f72bff8ec0191fa.zip
Fix issues with freeing of bad rdns requests
Diffstat (limited to 'src/libserver/rspamd_control.c')
-rw-r--r--src/libserver/rspamd_control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c
index 2aab37b58..6f0bd8a4d 100644
--- a/src/libserver/rspamd_control.c
+++ b/src/libserver/rspamd_control.c
@@ -700,6 +700,7 @@ rspamd_srv_handler (gint fd, short what, gpointer ud)
break;
case RSPAMD_SRV_HYPERSCAN_LOADED:
/* Broadcast command to all workers */
+ memset (&wcmd, 0, sizeof (wcmd));
wcmd.type = RSPAMD_CONTROL_HYPERSCAN_LOADED;
/*
* We assume that cache dir is shared at the same address for all