summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Clayton <richard@highwayman.com>2015-12-20 19:12:21 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-12-20 19:12:21 +0000
commit2decbec91a0b5f99322ba8356e3fac7be495a108 (patch)
tree282b9a3f0c02b8ef6b5bef7f55825524a8ff9869 /src
parent5f921f97ea35dc788cebd28adbf95877a25a5b1a (diff)
Malware: Fix potential spin-on-read-error with kavdaemon
Diffstat (limited to 'src')
-rw-r--r--src/src/malware.c3
1 files changed, 2 insertions, 1 deletions
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;