commit 941bde4: [Minor] Add lz4 support

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Sep 11 13:07:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-11 14:00:43 +0100
URL: https://github.com/rspamd/rspamd/commit/941bde42665f81e65f63fa8a35e9774571cea32a (HEAD -> master)

[Minor] Add lz4 support

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

diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index f0759de5d..1b0f89577 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -190,17 +190,17 @@ local patterns = {
   lz4 = {
     matches = {
       {
-        hex = "184d2204",
+        hex = "04224d18",
         relative_position = 0,
         weight = 60,
       },
       {
-        hex = "184c2103",
+        hex = "03214c18",
         relative_position = 0,
         weight = 60,
       },
       {
-        hex = "184c2102",
+        hex = "02214c18",
         relative_position = 0,
         weight = 60,
       },


More information about the Commits mailing list