Mailing List Archive

Typo or intended?
Hi,
I'm reading the clamav source code, but the following in libclamav/others.h
confused me:

#define CLI_MAX_ALLOCATION (182*1024*1024)

The number 182. Should it be 128 or 182?

Thanks

--Yao
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net
Re: Typo or intended? [ In reply to ]
On 2011-01-17 10:41, é‚“å°§ wrote:
> Hi,
> I'm reading the clamav source code, but the following in libclamav/others.h
> confused me:
>
> #define CLI_MAX_ALLOCATION (182*1024*1024)
>
> The number 182. Should it be 128 or 182?

Not a typo, 176 MB was too small already:
http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff;h=a66201acd1f9846099154099ca4fe8dc14324f4d;hp=08b5aec3817b031ac4c1542d5085aa14c0415781

Best regards,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net