[Bug 1830629] Re: Errors when extracting ZIP files. It can not differentiate between files and directories
Sebastien Bacher
seb128 at ubuntu.com
Fri Jun 28 19:27:07 UTC 2019
Thank you for your bug report, marking the bug as fixed since the issue
is resolved in the current version.
We are doing a SRU backport to Bionic as well (the corresponding line
will be added to the report)
** Changed in: libarchive (Ubuntu)
Importance: Undecided => High
** Changed in: libarchive (Ubuntu)
Status: New => Fix Released
** Description changed:
- The specific version included in Ubuntu 18.04 (libarchive 3.2.2) is the
- only version that presents the problem. This version has a known problem
- when reading file entries in ZIP files, where it incorrectly identifies
- directories and files entries.
+ * 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://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1830629/+attachment/5268728/+files/example.zip
+ $ 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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libarchive in Ubuntu.
https://bugs.launchpad.net/bugs/1830629
Title:
Errors when extracting ZIP files. It can not differentiate between
files and directories
Status in libarchive package in Ubuntu:
Fix Released
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://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1830629/+attachment/5268728/+files/example.zip
$ 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1830629/+subscriptions
More information about the foundations-bugs
mailing list