From 2decbec91a0b5f99322ba8356e3fac7be495a108 Mon Sep 17 00:00:00 2001 From: Richard Clayton Date: Sun, 20 Dec 2015 19:12:21 +0000 Subject: [PATCH 1/1] Malware: Fix potential spin-on-read-error with kavdaemon --- src/src/malware.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.25.1