Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Scanning fails for "zip" files #142

Open
gabrielgutunoi opened this issue Oct 19, 2020 · 0 comments
Open

Scanning fails for "zip" files #142

gabrielgutunoi opened this issue Oct 19, 2020 · 0 comments

Comments

@gabrielgutunoi
Copy link

Error log:
[ERROR] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 276: invalid continuation byte
Traceback (most recent call last):
File "/var/task/scan.py", line 236, in lambda_handler
scan_result, scan_signature = clamav.scan_file(file_path)
File "/var/task/clamav.py", line 195, in scan_file
output = av_proc.communicate()[0].decode()

Curious enough when created from same file 2 archives (one zip and one rar) the rar file is scanned with success.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant