View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000668 | file | General | public | 2025-06-11 02:15 | 2025-06-11 02:20 |
Reporter | Idrissyaifudin | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 5.45 | ||||
Summary | 0000668: file misidentifies RAR version 7 archives as version 5 | ||||
Description | The file utility (version 5.45) incorrectly identifies RAR version 7 files as version 5. While the format name may still be "RAR 5", version 7 introduces format changes (e.g., large dictionary support) that should be reflected in the identification | ||||
Steps To Reproduce | $ rar a -md8G -r v7test.rar * $ file v7test.rar v7test.rar: RAR archive data, v5 v7test.rar: RAR archive data, v7 | ||||
Additional Information | IF (compression_information & 0x003f > 0) THEN RETURN v7 ELSE IF (compression_information & 0x7c00 > 15) THEN RETURN v7 The file utility already supports varint, so it should be possible to implement this logic in Magdir/archive. | ||||
Tags | bug, compression, magic, rar | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-06-11 02:15 | Idrissyaifudin | New Issue | |
2025-06-11 02:15 | Idrissyaifudin | Tag Attached: bug | |
2025-06-11 02:15 | Idrissyaifudin | Tag Attached: compression | |
2025-06-11 02:15 | Idrissyaifudin | Tag Attached: magic | |
2025-06-11 02:15 | Idrissyaifudin | Tag Attached: rar | |
2025-06-11 02:15 | Idrissyaifudin | File Added: Screenshot_2025-06-11_090404.png |