On Sat, 21 Aug 2004, [iso-8859-15] Jérôme Augé wrote: > Playing with sparse files I noticed it's easy to create a tiny 2 > megabytes zip file that would unpack into a whopping 2 gigabytes file.
You can run your scanners softlimited to prevent such activity i.e. I always manually edit QS.pl: my $unzip_binary='/usr/local/bin/softlimit -t 120 -f 100000000 /usr/local/bin/unzip'; However, it still seems that QS ignores the return code of a process that has hit a softlimit. I brought this up last year: http://sourceforge.net/mailarchive/message.php?msg_id=7917252 Your patch gives much finer control over all this though. Cheers. -- Mark Powell - UNIX System Administrator - The University of Salford Information Services Division, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 4837 Fax: +44 161 295 5888 www.pgp.com for PGP key ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general