Browse Source

[Minor] Process invalid command types

tags/1.7.0
Vsevolod Stakhov 6 years ago
parent
commit
fd0e6cd7ed
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/fuzzy_storage.c

+ 3
- 0
src/fuzzy_storage.c View File

@@ -820,6 +820,9 @@ rspamd_fuzzy_process_command (struct fuzzy_session *session)
encrypted = TRUE;
is_shingle = TRUE;
break;
default:
msg_err ("invalid command type: %d", session->cmd_type);
return;
}

memset (&result, 0, sizeof (result));

Loading…
Cancel
Save