commit b38eeb1: [Minor] Add support for mozlz4

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Sep 12 10:56:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-12 11:55:09 +0100
URL: https://github.com/rspamd/rspamd/commit/b38eeb124c36299d553f875c39d64d17b1d359c0 (HEAD -> master)

[Minor] Add support for mozlz4

---
 lualib/lua_magic/patterns.lua | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index 1b0f89577..8f4bc4092 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -204,6 +204,12 @@ local patterns = {
         relative_position = 0,
         weight = 60,
       },
+      {
+        -- MozLZ4
+        hex = '6d6f7a4c7a343000',
+        relative_position = 0,
+        weight = 60,
+      }
     }
   },
   zst = {


More information about the Commits mailing list