cvs commit: src/lib/libarchive archive_read_support_format_zip.c
Tim Kientzle
kientzle at FreeBSD.org
Tue Jan 15 08:27:15 PST 2008
kientzle 2008-01-15 16:27:15 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_read_support_format_zip.c
Log:
Handle Zip archives that are "multi-part archives with only
one part" by simply ignoring the marker at the beginning
of the file. (Zip archivers reserve four bytes at the beginning
of each part of a multi-part archive, if it happens to only
require one part, those four bytes get filled with a placeholder
that can be ignored.)
Thanks to: Marius Nuennerich,
for pointing me to a Zip archive that libarchive couldn't handle
MFC after: 7 days
Revision Changes Path
1.20 +19 -1 src/lib/libarchive/archive_read_support_format_zip.c
More information about the cvs-src
mailing list