diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-17 17:15:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-17 17:15:10 +0100 |
commit | 12fee52a2fc74660279413a208883fe71b705ca7 (patch) | |
tree | 41c66666e34307d97bfecd869b2fdb3dce885e82 /src/libutil | |
parent | 957e21258d23679a0b4b9f46a720750ff86d8cf8 (diff) | |
download | rspamd-12fee52a2fc74660279413a208883fe71b705ca7.tar.gz rspamd-12fee52a2fc74660279413a208883fe71b705ca7.zip |
[Minor] Fix setting structure's fields
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/expression.c | 1 |
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; |