mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 02:13:16 +00:00
Compare commits
2 commits
389ccf2e1d
...
00033e92b5
Author | SHA1 | Date | |
---|---|---|---|
![]() |
00033e92b5 | ||
![]() |
b720cfaaca |
2 changed files with 4 additions and 2 deletions
|
@ -3650,7 +3650,9 @@ static cl_error_t scanraw(cli_ctx *ctx, cli_file_t type, uint8_t typercg, cli_fi
|
|||
// Omit OLD TAR files because it's a raw archive format that we can extract and scan manually.
|
||||
(type != CL_TYPE_OLD_TAR) &&
|
||||
// Omit POSIX TAR files because it's a raw archive format that we can extract and scan manually.
|
||||
(type != CL_TYPE_POSIX_TAR)) {
|
||||
(type != CL_TYPE_POSIX_TAR) &&
|
||||
// Omit TNEF files because TNEF message attachments are raw / not compressed. Document and ZIP attachments would be likely to have double-extraction issues.
|
||||
(type != CL_TYPE_TNEF)) {
|
||||
/*
|
||||
* Enable file type recognition scan mode if requested, except for some problematic types (above).
|
||||
*/
|
||||
|
|
|
@ -2109,7 +2109,7 @@ cl_error_t unzip_search_single(cli_ctx *ctx, const char *name, size_t nlen, uint
|
|||
|
||||
// Search for the zip file entry in the current layer.
|
||||
status = unzip_search(ctx, &requests);
|
||||
if (CL_SUCCESS == status) {
|
||||
if (CL_VIRUS == status) {
|
||||
*loff = requests.loff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue