View Issue Details

IDProjectCategoryView StatusLast Update
0000501fileGeneralpublic2024-02-11 15:40
Reporterulm Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.45 
Fixed in VersionHEAD 
Summary0000501: Weak magic for video/quicktime
Descriptionfile-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 InformationExpected result is "application/vnd.gentoo.manifest; charset=us-ascii".
TagsNo tags attached.

Activities

ulm

2024-02-07 08:44

reporter  

Manifest (297 bytes)   
AUX wide-int.patch 1136 BLAKE2B ff7527c6e18fc4ebb8bfe0b14571b1ee801ba36cff087fb05ae2f7a0dac1601a7f444bf8975c82656d28e204e743b3f719f02c3895cfff2f68c1600532da0b41 SHA512 823a01e2d4ac181d2951d4a609563e7c1dc3117cfbddeb291d8f99e71510db47f0742077a5efb97234dbd3c14d400be15b06fcc9baf509e3cb5c2eca54fa7840
Manifest (297 bytes)   

christos

2024-02-11 15:40

manager   ~0004010

It is a bit unfair calling the Quicktime weak when the Manifest magic is weaker. Anyway fixed by improving the Manifest magic entry.

Issue History

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