Bug 82810
Summary: | file segfaults after examining an Ogg Vorbis file | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | James Ralston <ralston> |
Component: | file | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | phoebe | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-27 18:38:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
James Ralston
2003-01-27 04:23:44 UTC
A clarification: file *does* print information about the Ogg Vorbis file successfully; it only dies when it attempts to examine the next file in the argv list. Yup, this problem bit rpm too, which has an internal copy of file-3.39. Fix there was to remove new-fangled /usr/share/magic tests. Do diff -u /usr/share/magic /usr/lib/rpm/magic for details. Fixed (as described) in file-3.39-6. Hurm. While file doesn't crash when using /usr/lib/rpm/magic, I think it's bogus that a magic(5) file (one that doesn't even appear to be deliberately mangled, even) can cause file to segfault. File should not segfault, regardless of what magic it's using. What do the upstream maintainers think about this? There's a bug in the magic file distributed with file-3.39. Go ask the upstream maintainers if you wish. The expedient fix is Don't do that. |