Few optimizations: avoid strlen when string length is known (read()>0 return);
authorwwp <wwp@free.fr>
Sat, 17 Mar 2018 19:02:48 +0000 (20:02 +0100)
committerwwp <wwp@free.fr>
Sat, 17 Mar 2018 19:02:48 +0000 (20:02 +0100)
commit86b4d2c073e7346b591f9270352d772b288f24a7
treed997cca16e5ac16fefc9ae210bfa823dafd950ca
parentf4cb29891be3d0a74191064680ddade59344c076
Few optimizations: avoid strlen when string length is known (read()>0 return);
end string at real end of string instead of at buffer boundary and
be sure we print 0-terminated string (clamd_stream_scan());
clamd_verify_email: discover a strange multi-line response, be sure we
print 0-terminated string (CID 1220483), debug_print all response lines.
src/plugins/clamd/libclamd/clamd-plugin.c