aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/expression.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-17 17:15:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-17 17:15:10 +0100
commit12fee52a2fc74660279413a208883fe71b705ca7 (patch)
tree41c66666e34307d97bfecd869b2fdb3dce885e82 /src/libutil/expression.c
parent957e21258d23679a0b4b9f46a720750ff86d8cf8 (diff)
downloadrspamd-12fee52a2fc74660279413a208883fe71b705ca7.tar.gz
rspamd-12fee52a2fc74660279413a208883fe71b705ca7.zip
[Minor] Fix setting structure's fields
Diffstat (limited to 'src/libutil/expression.c')
-rw-r--r--src/libutil/expression.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c
index 71414dc66..6099a308f 100644
--- a/src/libutil/expression.c
+++ b/src/libutil/expression.c
@@ -1124,6 +1124,7 @@ rspamd_process_expression_closure (struct rspamd_expression *expr,
expr->evals ++;
+ memset (&pd, 0, sizeof (pd));
pd.process_closure = cb;
pd.flags = flags;
pd.ud = runtime_ud;