mirror of https://github.com/Cisco-Talos/clamav
This patch relocates the real-path check from clamdscan and clamonacc to clamd. While clamonacc is unlikely to send directories or symlinks to be scanned, clamdscan may send directories. Real-path checks have to be performed on the files, not the directories -- both because the directories may contain symlinks and because the cli_realpath() function wasn't written to support directories on Windows.pull/133/head
parent
c637de532b
commit
4f21133667
Loading…
Reference in new issue