Red Hat Bugzilla – Bug 316501
file hugging cpu
Last modified: 2008-02-03 05:32:29 EST
Description of problem:
While testing the file type with the file attached, the process hugs the cpu and
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. file e5f5fdb10c8bb35d3219a87516147e15.exe
The process never exits, which CPU hugging.
Shows file type info.
The file size attached is less than 1 MB, and is infected by
Trojan.Downloader.Small-1444 (scanned by ClamAV).
Created attachment 214381 [details]
the file that fails the *file* util
Reproduced. I'll take a look at it. Thanks for reporting.
And changed version to rawhide, so the bug doesn't get closed automatically.
The process exits -- it's only extremely slow:
e5f5fdb10c8bb35d3219a87516147e15.exe: PE32 executable for MS Windows (GUI) Intel
The problem is in the regexec function provided by glibc. Unfortunately I can't
reproduce the problem anywhere else but in the file binary. I've tried to take
the exect regular expression that seems to cause the problem but no luck. If I
reproduce it I may file a bug on glibc. If not, I'll try to rewrite the regular
expression to it's equivalent and see whether that helps.
Fixed in 4.23-1.fc9. Will push also update for F-8.
file-4.21-5.fc8 has been submitted as an update for Fedora 8
file-4.21-5.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
Just verified it's fixed in file-4.21-5.fc8.