Your message dated Sat, 03 May 2008 12:58:22 +0200
with message-id <[EMAIL PROTECTED]>
and subject line file: fixed in 4.24-1
has caused the Debian Bug report #430362,
regarding Patched REXX detection is slow with UTF-8 locale
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
430362: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430362
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: file
Version: 4.21-1
Hi,
although the CVE-2007-2026 patch avoids the DoS attack, it makes file
much slower when a UTF-8 locale is used. Below are the times to
identify a ~100K c++ source file observed on 2.8GHz Intel C2D:
$ time LC_ALL=cs_CZ.UTF-8 file testfile.cpp
testfile.cpp: ASCII C++ program text
real 0m0.604s
user 0m0.600s
sys 0m0.003s
$ time LC_ALL=C file testfile.cpp
testfile.cpp: ASCII C++ program text
real 0m0.060s
user 0m0.056s
sys 0m0.002s
This is particularly annoying when using the Midnight Commander, as it
uses file command to identify any file before viewing.
commenting the lines
100 regex/c =^\\s{0,255}call\\s{1,99}rxfuncadd OS/2 REXX batch file
text
100 regex/c =^\\s{0,255}say\ ['"] OS/2 REXX batch
file text
fixes the problem. The slowdown didn't occur with the original
vulnerable version either.
Regards,
--
Jindrich Makovicka
--- End Message ---
--- Begin Message ---
Version: 4.24-1
Hi,
this bug has been fixed in file 4.24-1, thus closing. Thanks a lot to
Reuben Thomas for making this possible in upstream.
Regards,
Daniel
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: [EMAIL PROTECTED]
Internet: http://people.panthera-systems.net/~daniel-baumann/
--- End Message ---