Re: [Clamav-devel] Typo or intended?

2011-01-17 Thread Török Edwin
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

[Clamav-devel] Typo or intended?

2011-01-17 Thread 邓尧
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