On 10/14/2011 04:13 PM, Simon Friedberger wrote:
>> Does it print an error?
> Yes, it does.
> stat failed: Value too large for defined data type
> Now what does that mean? :)
> 

I think I got it:
            off_t     st_size;    /* total size, in bytes */

The st_size member of the stat buffer is a signed value, so any file over 2GB 
in size
would be negative. stat() won't allow that so instead it returns an error 
telling us
we should use the stat64() call probably.

Please open a bugreport, the fix is likely to detect the errno and simply skip 
scanning such
files (on 32-bit anyway).

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to