Cisco-Talos/clamav

clamdscan scanner client 1.0.7 Fail for large files with Broken pipe error

Opened this issue · 0 comments

Describe the bug

Our clamdscan scanner client running on a php:8.2.16-fpm-bullseye docker image and connect to clamav in another pod in kubernetes cluster. lately we have upgraded our clamdscan scanner client From 0.103.10+dfsg-0+deb11u1 to 1.0.7+dfsg-1~deb11u2 . Then Client started to get

ERROR: Can't send to clamd: Broken pipe

when scanning large files like 1.5G mp4 file. But it will work when downgraded to 0.103

How to reproduce the problem

Install clamdscan scanner client 1.0.7+dfsg-1~deb11u2 on php:8.2.16-fpm-bullseye. Then install clamav antivius in another container. Then try to scan a large files (1.5G) using that client

clamdscan file.mp4 --no-summary --fdpass --stream