You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
In worker.rb, there is a line if system("clamdscan #{fileName}")
In the case of an error, clamdscan returns status 2. Since the code doesn't examine the status, the file is treated as infected and (may be) deleted. This is probably the wrong thing and perhaps an error status should be reported on the topic?
The text was updated successfully, but these errors were encountered:
In worker.rb, there is a line
if system("clamdscan #{fileName}")
In the case of an error, clamdscan returns status 2. Since the code doesn't examine the status, the file is treated as infected and (may be) deleted. This is probably the wrong thing and perhaps an error status should be reported on the topic?
The text was updated successfully, but these errors were encountered: