Tidying: coverity issues
[exim.git] / src / src / malware.c
index b4a7f70948758687f35f4c2cd7adf35a50a9d0aa..b36bf0d6442e09cfc004b606936fc0ec67b8d956 100644 (file)
@@ -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)