diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-13 15:10:01 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-13 15:10:23 +0000 |
commit | 545463577aabc27c755db78a8ad5f931b9f3fc88 (patch) | |
tree | ddbe71c129ae6f934d30674d1258cc5c8394c97c /src/libserver/cfg_file.h | |
parent | da195bf5f1bf1e363d3bffdbf94bde32f9c5f60a (diff) | |
download | rspamd-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.h | 1 |
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 */ |