libarchive extracts zip as corrupt files but no warning or error

Bug #1460038 reported by Hendy Irawan on 2015-05-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libarchive (Ubuntu)
Undecided
Unassigned

Bug Description

The attached zip file 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-0ubuntu1~ubuntu14.04~ppa1)
* 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

Upstream bug: https://github.com/libarchive/libarchive/issues/554

Hendy Irawan (ceefour) wrote :
Hendy Irawan (ceefour) on 2015-05-29
description: updated
Hendy Irawan (ceefour) wrote :

Bug has been fixed upstream (https://github.com/libarchive/libarchive/issues/554) but still in master branch and not release version yet.

Prasad Murthy (murthy) wrote :

I can confirm the bug. Check this bug report for details https://bugs.kde.org/show_bug.cgi?id=339536

Changed in libarchive (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.