Skip to content

Some zip files are misclassified as data

Description:

file v5.46 has broken some compressed files

Additional info:

This commit is the culprit: https://github.com/file/file/commit/f7d05cade99ff4819b4de70445511037000f6b14

This commit fixed it: https://github.com/file/file/commit/60b2032b96fc185b37fb0f2152e834efb2edad6e

Bug report: https://bugs.astron.com/view.php?id=571

Steps to reproduce:

  1. Download an archive file, example: https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/
  2. read file with file Visual-C-Runtimes-All-in-One-May-2024.zip

Here are the two needed patches to fix the problem.

0002-add-Serpent-OS-package-managers-format.patch

0003-PR-571-jschleus-some-zip-files-are-misclassified-as-data.patch

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information