Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 unzip fails if zip contains 0 length files - ID: 1503678
Last Update: Comment added ( drieseng )

Unzip task fails if the zip file contains zero length
files. If remove first zero length files from the
zip, unzip will then fail on the next zero length
files.

NAnt version = 0.85 Release Candidate 4

Error Message:
Unable to expand 'A4Pptest.con/LOCK'
to 'd:\InstInput80\Var\Xdod\DefaultSettings'.
Specified argument was out of the range of valid
values.
Parameter name: length


Jim F. ( jimhead42 ) - 2006-06-09 19:39

5

Closed

Fixed

Gert Driesen

Tasks

0.85

Public


Comments ( 3 )

Date: 2006-07-23 10:06
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This issue was caused by a small bug in #ziplib:

http://community.sharpdevelop.net/forums/thread/10051.aspx

However, I've now added a temporary workaround for it
(until a new #ziplib release is available).


Date: 2006-07-14 14:32
Sender: jimhead42

Logged In: YES
user_id=769782

Attaching zip file containing zero length files.


Date: 2006-07-14 09:32
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

I cannot reproduce this issue here.

Can you attach a small repro to this bug report (or send
it to me by email) ?

Thannks !


Attached File ( 1 )

Filename Description Download
DefaultSettings.zip Zip file containing zero length files. Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2006-07-23 10:06 drieseng
resolution_id None 2006-07-23 10:06 drieseng
close_date - 2006-07-23 10:06 drieseng
File Added 184937: DefaultSettings.zip 2006-07-14 14:32 jimhead42
assigned_to nobody 2006-07-14 09:32 drieseng