aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-24 13:08:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-24 13:08:56 +0100
commit26eff813e8e951bc1470ed4667ecaabd0aa0588f (patch)
tree792e25374e931a08ea7c06991cae39248326b95f /src/lua
parentc52e22c7ce4a371076fe0f403144484a3be59ef2 (diff)
downloadrspamd-26eff813e8e951bc1470ed4667ecaabd0aa0588f.tar.gz
rspamd-26eff813e8e951bc1470ed4667ecaabd0aa0588f.zip
[Minor] Add safety check when using icu ubrk iterators
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c
index 461130157..1ea8d380c 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -1322,7 +1322,7 @@ lua_util_tokenize_text (lua_State *L)
&utxt,
RSPAMD_TOKENIZE_UTF, NULL,
exceptions,
- NULL, NULL);
+ NULL, NULL, NULL);
if (res == NULL) {
lua_pushnil (L);