On Tue, 3 Apr 2007, Vincent Li wrote:

> On Tue, 3 Apr 2007, Sven Schuster wrote:
>
>>
>> Hi Henrik,
>>
>> On Tue, Apr 03, 2007 at 08:43:23PM +0300, Henrik Krohns told us:
>>>> Must be something else in that file, 2.7M LFs alone in a file
>>>> makes no difference to file-4.20 here. Can you provide a sample?
>>>>
>>>> $ perl -e 'for (1..2700) {print "\n" x 1000}' >0.lis
>>>> $ time file 0.lis
>>>> 0.lis: ASCII text
>>>>
>>>> real    0m0.253s
>>>> user    0m0.245s
>>>> sys     0m0.008s
>>>
>>> Here 0.lis uses 100% CPU on Debian, using package or self
>>> compiled. But no problems on Solaris.
>>
>> tested here on a Fedora Core 6 box, just upgraded to the rawhide rpm
>> of file:
>>
>> $ file --version
>> file-4.20
>> magic file from /usr/share/file/magic
>> $ time file 0.lis
>> *waiting, not holding breath*
>> 0.lis: ASCII text
>>
>> real    33m32.123s
>> user    29m56.064s
>> sys     0m14.149s
>> $
>>
>>
>> while running, it chewed up all available cpu power on my shiny
>> little AMD Duron home box :-) the old version (4.19-something)
>> worked without problems.
>>
>> So, might be something linux-related!?
>>
>
> Same here, Yellow Dog Linux release 4.1 (Sagitta) on Power Mac G5 dual
> core.
>

Is there anyway for amavisd to avoid the file-4.20 bug before someone use 
this as DOS attack?

Vincent


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to