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/libmime/scan_result.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/libmime/scan_result.h')
-rw-r--r-- | src/libmime/scan_result.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/scan_result.h b/src/libmime/scan_result.h index b5f76baf7..3b222fffb 100644 --- a/src/libmime/scan_result.h +++ b/src/libmime/scan_result.h @@ -39,6 +39,7 @@ struct rspamd_symbol_result { struct rspamd_symbol_option *opts_head; /**< head of linked list of options */ const gchar *name; struct rspamd_symbol *sym; /**< symbol configuration */ + gssize opts_len; /**< total size of all options (negative if truncated option is added) */ guint nshots; enum rspamd_symbol_result_flags flags; }; |