From 6cd324f4d7d8d30db124c86c751f793ae8ed150f Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Sat, 2 Mar 2024 12:11:44 -0500 Subject: [PATCH] LHA/LZH: update file type signature to include LZS and PMA extensions Added the extensions supported by Rust delharc crate. See: https://docs.rs/delharc/latest/delharc/ --- libclamav/filetypes_int.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libclamav/filetypes_int.h b/libclamav/filetypes_int.h index 02c8a4039b..7231779586 100644 --- a/libclamav/filetypes_int.h +++ b/libclamav/filetypes_int.h @@ -298,6 +298,8 @@ static const char *ftypes_int[] = { "0:0:00010d0a:PyPy 3.8 byte-compiled (.pyc):CL_TYPE_ANY:CL_TYPE_PYTHON_COMPILED:200", "0:0:50010d0a:PyPy 3.9 byte-compiled (.pyc):CL_TYPE_ANY:CL_TYPE_PYTHON_COMPILED:200", "1:0:??0d0d0a:Python 3.7 or newer byte-compiled (.pyc):CL_TYPE_ANY:CL_TYPE_PYTHON_COMPILED:200", - "1:0:????2d6c68(30|31|32|33|34|35|36|37|64)2d:LHA or LZH archive:CL_TYPE_ANY:CL_TYPE_LHA_LZH:210", + "1:0:????2d6c68(30|31|32|33|34|35|36|37|64|78)2d:LHA or LZH archive:CL_TYPE_ANY:CL_TYPE_LHA_LZH:210", + "1:0:????2d6c7a(73|34|35)2d:LHA archive using .LZS extension:CL_TYPE_ANY:CL_TYPE_LHA_LZH:210", + "1:0:????2d706d302d:LHA archive using PMarc (.PMA) extension:CL_TYPE_ANY:CL_TYPE_LHA_LZH:210", NULL}; #endif