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
I've had an issue where a mount wasn't working in a docker container with ClamAV, so SCAN command was returning something like this: /clamav_tmp/file.docx: File path check failure: No such file or directory
I've been using fileScan() in php-clamav and since it did not find 'OK' in ClamAV output, it returned true which led to all files scanned being silently marked as having a virus.
I think this should instead have caused an Exception, so that it's clear that there is an issue with the scanning.
I've had an issue where a mount wasn't working in a docker container with ClamAV, so SCAN command was returning something like this:
/clamav_tmp/file.docx: File path check failure: No such file or directoryI've been using fileScan() in php-clamav and since it did not find 'OK' in ClamAV output, it returned
truewhich led to all files scanned being silently marked as having a virus.I think this should instead have caused an Exception, so that it's clear that there is an issue with the scanning.