diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-10 12:36:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-10 12:36:12 +0000 |
commit | fe3edc0dfa04158efee4fa935ab2640095265063 (patch) | |
tree | 14f0fe99c718a321e71724030a53e289eec790a2 /src/fuzzy_storage.c | |
parent | cb846eabcdd306de3ff54c77ad0184f08850dead (diff) | |
download | rspamd-fe3edc0dfa04158efee4fa935ab2640095265063.tar.gz rspamd-fe3edc0dfa04158efee4fa935ab2640095265063.zip |
[Fix] Fix usage of unsafe ucl iterators
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index e0a31a9a4..a1eb80997 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -1985,7 +1985,7 @@ fuzzy_parse_keypair (rspamd_mempool_t *pool, else if (ucl_object_type (obj) == UCL_ARRAY) { while ((cur = ucl_object_iterate (obj, &it, true)) != NULL) { if (!fuzzy_parse_keypair (pool, cur, pd, section, err)) { - return FALSE; + msg_err_pool ("cannot parse keypair"); } } } |