aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-01-11 15:28:32 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-01-11 15:28:32 +0000
commitd784fa6f3deb8afbbab7c52d6ef891c45cd2c16b (patch)
tree0468e33116acadee15d1bbabd828b5a2e267c3ca /src/fuzzy_storage.c
parentf0a73ad169c181f75e1e1e010622266f90927493 (diff)
downloadrspamd-d784fa6f3deb8afbbab7c52d6ef891c45cd2c16b.tar.gz
rspamd-d784fa6f3deb8afbbab7c52d6ef891c45cd2c16b.zip
[Minor] Fix unencrypted fuzzy case
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 2ca9548e4..5665d4eda 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -745,7 +745,7 @@ rspamd_fuzzy_make_reply (struct rspamd_fuzzy_cmd *cmd,
result->v1.prob > 0.5,
flags & RSPAMD_FUZZY_REPLY_SHINGLE,
flags & RSPAMD_FUZZY_REPLY_DELAY,
- session->key->stat,
+ session->key ? session->key->stat : NULL,
session->ip_stat,
cmd->cmd,
result->v1.value);