diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-11-08 23:40:09 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-11-13 17:24:49 +0000 |
commit | 6e92b3ae468b2f89ff33075400253eaf6a4958f8 (patch) | |
tree | 6d3fc4ca0e02b80cac1abd0de477a2255f6716ea /src/src/malware.c | |
parent | 64e653f4a8d762919d7c71838021d4d18a61979d (diff) | |
download | exim4-6e92b3ae468b2f89ff33075400253eaf6a4958f8.tar.gz |
Tidying: coverity issues
Diffstat (limited to 'src/src/malware.c')
-rw-r--r-- | src/src/malware.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/src/malware.c b/src/src/malware.c index b4a7f7094..b36bf0d64 100644 --- a/src/src/malware.c +++ b/src/src/malware.c @@ -1003,7 +1003,9 @@ if (!malware_ok) kav_re = kav_re_inf; } - /* read report, linewise */ + /* read report, linewise. Using size from stream to read amount of data + from same stream is safe enough. */ + /* coverity[tainted_data] */ while (kav_reportlen > 0) { if ((bread = recv_line(sock, tmpbuf, sizeof(tmpbuf), tmo)) < 0) |