Thank you for the sample.
I still cannot reproduce any fault. Perhaps clamAV isn't at fault, but some
library it uses is:
[EMAIL PROTECTED] tmp]$ valgrind --track-fds=yes --leak-check=yes --num-callers=20 clamscan --no-phishing-scan-urls --block-max --mail-follow-urls clamav-bug-mbox-url-testmail.txt
==5341== Memcheck, a memory error detector.
==5341== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==5341== Using LibVEX rev 1732, a library for dynamic binary translation.
==5341== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==5341== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==5341== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==5341== For more details, rerun with: -v
==5341==
LibClamAV Warning: URL http://www.computerweekly.com/Articles/2006/06/27/216634/Belgium+government+drives+adoption+of+open+source+Open+Document.htm will not be scanned (FOLLOWURLS limit 5 was reached)
LibClamAV Warning: URL
http://www.news.com/German-tax-office-moves-to+Linux/2110 will not be followed
to http://www.news.com/German-tax-office-moves-to-Linux/21 (FOLLOWURLS limit 5
was reached)
clamav-bug-mbox-url-testmail.txt: OK
----------- SCAN SUMMARY -----------
Known viruses: 180759
Engine version: devel-20071218
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.35 MB
Time: 147.407 sec (2 m 27 s)
==5341==
==5341== FILE DESCRIPTORS: 3 open at exit.
==5341== Open file descriptor 2: /dev/pts/0
==5341== <inherited from parent>
==5341==
==5341== Open file descriptor 1: /dev/pts/0
==5341== <inherited from parent>
==5341==
==5341== Open file descriptor 0: /dev/pts/0
==5341== <inherited from parent>
==5341==
==5341==
==5341== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 36 from 1)
==5341== malloc/free: in use at exit: 695 bytes in 62 blocks.
==5341== malloc/free: 899,750 allocs, 899,688 frees, 542,376,315 bytes
allocated.
==5341== For counts of detected errors, rerun with: -v
==5341== searching for pointers to 62 not-freed blocks.
==5341== checked 148,576 bytes.
==5341==
==5341== LEAK SUMMARY:
==5341== definitely lost: 0 bytes in 0 blocks.
==5341== possibly lost: 0 bytes in 0 blocks.
==5341== still reachable: 695 bytes in 62 blocks.
==5341== suppressed: 0 bytes in 0 blocks.
==5341== Reachable blocks (those to which a pointer was found) are not shown.
==5341== To see them, rerun with: --leak-check=full --show-reachable=yes
[EMAIL PROTECTED] tmp]$
--
Nigel Horne
ClamAV, The Open-Source GPL Multi-Platform Anti-Virus tool-kit
begin:vcard
url:http://www.clamav.net
version:2.1
end:vcard