From: Richard Clayton Date: Sun, 20 Dec 2015 19:12:21 +0000 (+0000) Subject: Malware: Fix potential spin-on-read-error with kavdaemon X-Git-Tag: exim-4_87_RC3~39 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2decbec91a0b5f99322ba8356e3fac7be495a108;p=exim.git Malware: Fix potential spin-on-read-error with kavdaemon --- diff --git a/src/src/malware.c b/src/src/malware.c index 4f4a41952..9dd241b8c 100644 --- a/src/src/malware.c +++ b/src/src/malware.c @@ -918,7 +918,8 @@ if (!malware_ok) uschar tmpbuf[1024]; uschar * scanrequest; int kav_rc; - unsigned long kav_reportlen, bread; + unsigned long kav_reportlen; + int bread; const pcre *kav_re; uschar *p;