[bug] libarchive extracts zip as corrupt files but no warning or error #554

Closed
ceefour opened this Issue May 29, 2015 · 2 comments

Comments

Projects
None yet
2 participants

ceefour commented May 29, 2015

The attached zip file (https://app.box.com/s/58i5nfhvpgx3qocknjmdkobl956ssb6f) is produced by AirDroid and can be extracted successfully by unzip 6.00, ASUS File Manager for Android, and Windows 8.1.

However libarchive13 version 3.1.2-7ubuntu2.1, in Linux Mint KDE 17.1 amd64, while extracts the files without any warning or error, results in corrupt files. These are all JPG files which cannot be viewed when extracted by Ark.

Tested using both:

  • Ark 2.19 (4:4.14.2-0ubuntu1ubuntu14.04ppa1)
  • bsdcpio 3.1.2-7ubuntu2.1

Reproducible: Always

Steps to Reproduce:

  1. Extract

Actual Results:
Corrupt JPGs

Expected Results:
Proper JPGs

For complete thread/diagnostics history please see https://bugs.kde.org/show_bug.cgi?id=348357

Also filed at https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1460038

@ceefour ceefour changed the title from libarchive extracts zip as corrupt files but no warning or error to [bug] libarchive extracts zip as corrupt files but no warning or error May 29, 2015

Contributor

kientzle commented May 31, 2015

I just tried extracting using the current github master and the JPEGs look fine. I believe this issue has been fixed since 3.1.2 was released.

@kientzle kientzle closed this May 31, 2015

ceefour commented May 31, 2015

When the master will be released (i.e. 3.1.3?)? Currently this affects all Debian including derivatives like Ubuntu, Linux Mint and I cannot ask them to upgrade yet to resolve this bug because the latest version of libarchive is still 3.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment