commit 0b1686f: [Minor] Fix analysis_keyword_table concat
Vsevolod Stakhov
vsevolod at highsecure.ru
Sun May 31 19:21:07 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-05-31 20:19:35 +0100
URL: https://github.com/rspamd/rspamd/commit/0b1686f2cb92e71fbc0fcc7b8ed1097f7f5788a8 (HEAD -> master)
[Minor] Fix analysis_keyword_table concat
Obsoletes: #3384
---
lualib/lua_scanners/oletools.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lualib/lua_scanners/oletools.lua b/lualib/lua_scanners/oletools.lua
index 5d2bc78fd..80576fa0b 100644
--- a/lualib/lua_scanners/oletools.lua
+++ b/lualib/lua_scanners/oletools.lua
@@ -301,7 +301,7 @@ local function oletools_check(task, content, digest, rule)
elseif rule.extended == true and #analysis_keyword_table > 0 then
-- report any flags (types) and any most keywords as individual virus name
- table.insert(analysis_keyword_table, 1, table.concat(analysis_cat_table))
+ table.insert(analysis_keyword_table, 1, table.concat(lua_util.values(analysis_cat_table)))
lua_util.debugm(rule.name, task, '%s: extended threat result: %s',
rule.log_prefix, table.concat(analysis_keyword_table, ','))
More information about the Commits
mailing list