diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/chartable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c index c997862a1..56fdac3a6 100644 --- a/src/plugins/chartable.c +++ b/src/plugins/chartable.c @@ -596,7 +596,7 @@ rspamd_chartable_process_part (struct rspamd_task *task, gdouble cur_score = 0.0; if (part == NULL || part->utf_words == NULL || - part->utf_words->len == 0) { + part->utf_words->len == 0 || part->nwords == 0) { return FALSE; } |