libarchive/libarchive-test — Issue #3: 3 - bsdtar fails on extracting .zip archives with empty files  
Author: amejia1
Created: 2012-01-20 19:22:41+00:00
State: closed

Bsdtar, which is provided by libarchive, fails when attempting to extract a
zip archive that contains empty files, as is often seen in Python packages
with init.py files.

What steps will reproduce the problem?
1. Download MyghtyUtils 0.52 package
(http://pypi.python.org/packages/source/M/MyghtyUtils/)
2. bsdtar -x -f MyghtyUtils-0.52.zip

Fails with messages:
MyghtyUtils-0.52/lib/myghtyutils/__init__.py: Attempt to write to an empty file
MyghtyUtils-0.52/lib/myghtyutils/ext/__init__.py: Attempt to write to an
empty file

What version of the product are you using? On what operating system?
libarchive 2.6.0-1 on i386 Arch Linux

Original link: http://code.google.com/p/libarchive/issues/detail?id=3