aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-26 09:58:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-26 09:58:33 +0100
commitf648223e11b724cb485fabd8d344fec3b3e382c5 (patch)
treecc982100e71cb89b29cc45ae7ba04d3ebbaafceb /src
parent28a7756cb03e43a2e3a0f66acdca27225d509bb9 (diff)
downloadrspamd-f648223e11b724cb485fabd8d344fec3b3e382c5.tar.gz
rspamd-f648223e11b724cb485fabd8d344fec3b3e382c5.zip
[Minor] Fix array size
Diffstat (limited to 'src')
-rw-r--r--src/libstat/tokenizers/tokenizers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/tokenizers/tokenizers.c b/src/libstat/tokenizers/tokenizers.c
index 000f2033c..acd3c5739 100644
--- a/src/libstat/tokenizers/tokenizers.c
+++ b/src/libstat/tokenizers/tokenizers.c
@@ -39,7 +39,7 @@ typedef gboolean (*token_get_function) (rspamd_stat_token_t * buf, gchar const *
rspamd_stat_token_t * token,
GList **exceptions, gsize *rl, gboolean check_signature);
-const gchar t_delimiters[255] = {
+const gchar t_delimiters[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
1, 0, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -65,7 +65,7 @@ const gchar t_delimiters[255] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0
+ 0, 0, 0, 0, 0, 0
};
/* Get next word from specified f_str_t buf */