]> source.dussan.org Git - rspamd.git/commit
[Fix] F-PROT Antivirus: only check return code to determine infection 2002/head
authorArne Fahrenwalde <macgeneral@macgeneral.de>
Mon, 29 Jan 2018 08:41:00 +0000 (09:41 +0100)
committerArne Fahrenwalde <macgeneral@macgeneral.de>
Mon, 29 Jan 2018 08:41:00 +0000 (09:41 +0100)
commite5140faeba18139e5f534919eead9aa2a0900fb3
treeb8e522a0ea872ef6d39ed475fc3dfb7cc7fa040a
parent03cd15ca59b6d6e20537fb17ed9cf1b296fd78f5
[Fix] F-PROT Antivirus: only check return code to determine infection

F-PROT Antivirus uses return codes 1-3 (infected, suspicious, both) to signal an infection, while 4-255 are various error codes (including infected files were found before the error occured, but it's too complicated to handle all that edge case scenarios).
src/plugins/lua/antivirus.lua