On Wed, 28 Feb 2007 19:04:43 +0100 Gianluigi Tiesi <[EMAIL PROTECTED]> wrote:
> There is a reason if we (clamwin) changed this, we still prefer to skip > unknown files, and we don't need to care much about html and mail You don't need to care about HTML? > files, so I've made some tweaks (not only this one) to save some > cpu cycles avoiding scan of unneeded files. I wouldn't call it a tweak, I'd call it an error. Your change introduced much more serious problems. > I'm aware that for a mail server scanner it's not the correct approach, > so in fact my post was only a "comment", it was never intended to > be in clamav tree. > A scan of a real pc hd can take ages, clamscan without any change > scans large avi files in raw mode (there is only a specific check for > anim riffs), other media files and e.g. iso files are also scanned in > raw mode. > 10-20gb of media/iso is not uncommon to find in a user pc, while > they are very unlikely to be in a mail. Still there are better ways to deal with big files than breaking important parts of code. -- oo ..... Tomasz Kojm <[EMAIL PROTECTED]> (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Wed Feb 28 19:14:03 CET 2007 _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net