aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-13 15:10:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-13 15:10:23 +0000
commit545463577aabc27c755db78a8ad5f931b9f3fc88 (patch)
treeddbe71c129ae6f934d30674d1258cc5c8394c97c /src/libserver/cfg_file.h
parentda195bf5f1bf1e363d3bffdbf94bde32f9c5f60a (diff)
downloadrspamd-545463577aabc27c755db78a8ad5f931b9f3fc88.tar.gz
rspamd-545463577aabc27c755db78a8ad5f931b9f3fc88.zip
[Fix] Limit size of symbols options by max_opts_len option
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 8e1ce2c42..de6f37766 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -470,6 +470,7 @@ struct rspamd_config {
guint full_gc_iters; /**< iterations between full gc cycle */
guint max_lua_urls; /**< maximum number of urls to be passed to Lua */
guint max_blas_threads; /**< maximum threads for openblas when learning ANN */
+ guint max_opts_len; /**< maximum length for all options for a symbol */
GList *classify_headers; /**< list of headers using for statistics */
struct module_s **compiled_modules; /**< list of compiled C modules */