#659535 zip -s 0 fails to recombine a split archive

Package:
zip
Source:
zip
Description:
Archiver for .zip files
Submitter:
Martin
Date:
2014-06-30 14:00:15 UTC
Severity:
normal
#659535#5
Date:
2012-02-11 23:06:21 UTC
From:
To:
If I create a multi-part zip file using the following command:

dd if=/dev/urandom bs=1M count=1 | zip -s 256k split.zip -

The command to recombine, as documented in the man-page, results in
a corrupt archive:

zip -s 0 split.zip --out single.zip
unzip -t single.zip

#659535#14
Date:
2012-03-04 15:28:40 UTC
From:
To:
Thanks for the report. I've just forwarded it upstream:

http://www.info-zip.org/phpBB3/viewtopic.php?f=6&t=383