View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000501 | file | General | public | 2024-02-07 08:44 | 2024-02-11 15:40 |
Reporter | ulm | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.45 | ||||
Fixed in Version | HEAD | ||||
Summary | 0000501: Weak magic for video/quicktime | ||||
Description | file-5.45 has weak magic for video/quicktime which causes misidentification of Gentoo Manifest files as "Apple QuickTime movie (unoptimized)". AFAICS the following commit broke it: https://github.com/file/file/commit/bc1b82b6c6fbe9b8571ace486af4d7557267abb9 | ||||
Steps To Reproduce | $ cat Manifest AUX wide-int.patch 1136 BLAKE2B ff7527c6e18fc4ebb8bfe0b14571b1ee801ba36cff087fb05ae2f7a0dac1601a7f444bf8975c82656d28e204e743b3f719f02c3895cfff2f68c1600532da0b41 SHA512 823a01e2d4ac181d2951d4a609563e7c1dc3117cfbddeb291d8f99e71510db47f0742077a5efb97234dbd3c14d400be15b06fcc9baf509e3cb5c2eca54fa7840 $ file -i Manifest Manifest: video/quicktime; charset=us-ascii $ file Manifest Manifest: Apple QuickTime movie (unoptimized) | ||||
Additional Information | Expected result is "application/vnd.gentoo.manifest; charset=us-ascii". | ||||
Tags | No tags attached. | ||||
|
Manifest (297 bytes)
AUX wide-int.patch 1136 BLAKE2B ff7527c6e18fc4ebb8bfe0b14571b1ee801ba36cff087fb05ae2f7a0dac1601a7f444bf8975c82656d28e204e743b3f719f02c3895cfff2f68c1600532da0b41 SHA512 823a01e2d4ac181d2951d4a609563e7c1dc3117cfbddeb291d8f99e71510db47f0742077a5efb97234dbd3c14d400be15b06fcc9baf509e3cb5c2eca54fa7840 |
|
It is a bit unfair calling the Quicktime weak when the Manifest magic is weaker. Anyway fixed by improving the Manifest magic entry. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-07 08:44 | ulm | New Issue | |
2024-02-07 08:44 | ulm | File Added: Manifest | |
2024-02-11 15:40 | christos | Assigned To | => christos |
2024-02-11 15:40 | christos | Status | new => assigned |
2024-02-11 15:40 | christos | Status | assigned => resolved |
2024-02-11 15:40 | christos | Resolution | open => fixed |
2024-02-11 15:40 | christos | Fixed in Version | => HEAD |
2024-02-11 15:40 | christos | Note Added: 0004010 |