diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-01-12 21:04:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-01-12 21:04:17 +0000 |
commit | 2d1c4a34ebdd334679d5f7954b6e34688c69f273 (patch) | |
tree | 80cb9a5a9119880aba231b1f318d05d1e074f2d6 /src/libmime/archives.h | |
parent | 246e62c22b261e521bdba1cc9476ab6c3b9bff3d (diff) | |
download | rspamd-2d1c4a34ebdd334679d5f7954b6e34688c69f273.tar.gz rspamd-2d1c4a34ebdd334679d5f7954b6e34688c69f273.zip |
[Minor] Check archive file names for 'strange' stuff
Diffstat (limited to 'src/libmime/archives.h')
-rw-r--r-- | src/libmime/archives.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmime/archives.h b/src/libmime/archives.h index bb84d4298..e0ac7d963 100644 --- a/src/libmime/archives.h +++ b/src/libmime/archives.h @@ -32,10 +32,12 @@ enum rspamd_archive_type { enum rspamd_archive_flags { RSPAMD_ARCHIVE_ENCRYPTED = (1u << 0u), RSPAMD_ARCHIVE_CANNOT_READ = (1u << 1u), + RSPAMD_ARCHIVE_HAS_OBFUSCATED_FILES = (1u << 2u), }; enum rspamd_archive_file_flags { RSPAMD_ARCHIVE_FILE_ENCRYPTED = (1u << 0u), + RSPAMD_ARCHIVE_FILE_OBFUSCATED = (1u << 1u), }; struct rspamd_archive_file { |