Date: Tue, 15 Jan 2008 16:27:15 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c Message-ID: <200801151627.m0FGRFlW089102@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801151627.m0FGRFlW089102>
