Errors when extracting ZIP files. It can not differentiate between files and directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libarchive (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Impact
The bionic version has a known problem when reading file entries in ZIP files, where it incorrectly identifies directories and files entries.
* Test case
$ wget https:/
$ bsdtar -vxf example.zip
$ ls -l
The 'ABCD_1234' and 'empty' entries should be directories
* Regression potential
Check that extracting zips from bsdtar or nautilus work without issue
-------
It has been confirmed that the previous and following versions (3.3.1+) do not have this problem and the library handles the ZIP files correctly.
Is it possible to include a newer version of libarchive (3.3.1+) in Bionic?
This problem is seriously affecting some of our systems.
tags: |
added: verification-done verification-done-bionic removed: verification-needed verification-needed-bionic |
Here are the references to the related issues reported previously in libarchive GitHub:
https:/ /github. com/libarchive/ libarchive/ issues/ 822
https:/ /github. com/libarchive/ libarchive/ issues/ 853
And the pull request that solves the issue:
https:/ /github. com/libarchive/ libarchive/ pull/850