Skip to content

Commit

Permalink
LHA/LZH: update file type signature to include LZS and PMA extensions
Browse files Browse the repository at this point in the history
Added the extensions supported by Rust delharc crate.

See: https://docs.rs/delharc/latest/delharc/
  • Loading branch information
micahsnyder committed Mar 2, 2024
1 parent 408716e commit 6cd324f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libclamav/filetypes_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6cd324f

Please sign in to comment.