[Bug 1830629] Re: Errors when extracting ZIP files. It can not differentiate between files and directories
Alejandro Claro
1830629 at bugs.launchpad.net
Tue Jun 4 09:48:44 UTC 2019
HI Sebastien,
Sure. Here is a zip file that it's very easy to use to reproduce the
defect. The defect s not in the bsdtar, it's in libarchive. However,
since bsdtar depends on libarchive, this can be used to demonstrate the
problem as someone reports in the GitHub issue report:
https://github.com/libarchive/libarchive/issues/822
If you try to extract the content with bsdtar:
# bsdtar -vxf example.zip
You will see and error, and if you look to the result in the filesystem,
that 'ABCD_1234' and 'empty' are created as files instead of
directories. If you try the same operation using unzip in other
directory (or after cleaning the previous operation):
# unzip example.zip
You will see the right result (ABCD_1234 and empty directories).
Thanks for take care of this,
Alejandro
** Attachment added: "example.zip"
https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1830629/+attachment/5268728/+files/example.zip
--
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:
New
Bug description:
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.
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