View Issue Details

IDProjectCategoryView StatusLast Update
0000421fileGeneralpublic2023-03-11 18:27
Reporterbbaovanc Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.44 
Fixed in Version5.45 
Summary0000421: Debian package with control file with zstd compression has extension truncated
DescriptionDebian packages (.deb) that have the control archive compressed with zstd will be named `control.tar.zst`, but the last letter of that filename gets chopped off in the output from `file`.
Steps To Reproduce1. Download attached deb
2. Run `file com.jaidan.testtool_1.0.0_all.deb`
3. Note that it says "with control.tar.zs"
Additional InformationLooking at `magic/Magdir/archive:274`, it looks like it only reads a 14-character long filename for the control archive. That works for `control.tar.gz` and `control.tar.xz`, but `control.tar.zst` is 15 characters long.

TagsNo tags attached.

Activities

bbaovanc

2023-02-04 19:48

reporter  

christos

2023-03-11 18:27

manager   ~0003914

Widened, thanks.

Issue History

Date Modified Username Field Change
2023-02-04 19:48 bbaovanc New Issue
2023-02-04 19:48 bbaovanc File Added: com.jaidan.testtool_1.0.0_all.deb
2023-03-11 18:26 christos Assigned To => christos
2023-03-11 18:26 christos Status new => assigned
2023-03-11 18:27 christos Status assigned => resolved
2023-03-11 18:27 christos Resolution open => fixed
2023-03-11 18:27 christos Fixed in Version => 5.45
2023-03-11 18:27 christos Note Added: 0003914