#559 unzip fails if zip contains 0 length files

0.85
closed-fixed
Tasks (408)
5
2006-07-23
2006-06-09
Jim F.
No

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

Discussion

  • Gert Driesen

    Gert Driesen - 2006-07-14

    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 !

     
  • Gert Driesen

    Gert Driesen - 2006-07-14
    • assigned_to: nobody --> drieseng
     
  • Jim F.

    Jim F. - 2006-07-14

    Logged In: YES
    user_id=769782

    Attaching zip file containing zero length files.

     
  • Jim F.

    Jim F. - 2006-07-14

    Zip file containing zero length files.

     
  • Gert Driesen

    Gert Driesen - 2006-07-23
    • status: open --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2006-07-23

    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).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks