aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 905794d8b..bc2f4b367 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1032,7 +1032,7 @@ fuzzy_process_rule (struct rspamd_http_connection_entry *entry,
fuzzy_module_ctx->min_bytes)) {
/* Skip empty parts */
msg_info ("<%s>: part %Xd is too short for fuzzy process, skip it",
- task->message_id, part->fuzzy->h);
+ task->message_id, part->fuzzy ? part->fuzzy->h : 0);
cur = g_list_next (cur);
continue;
}