Date: Fri, 6 Mar 2009 04:50:39 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c archive_write_disk.c Message-ID: <200903060450.n264onxT038156@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2009-03-06 04:50:39 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_zip.c archive_write_disk.c Log: SVN rev 189430 on 2009-03-06 04:50:39Z by kientzle Merge r407,r508 from libarchive.googlecode.com: Correctly handle Zip entries that are zero length but stored with deflate. This is arguably a silly thing to do (deflating a zero-length file actually makes it bigger) but apparently quite a few Zip writers do this. This was broken in two places: archive_write_disk disliked being asked to write data to zero-length files (even if the write was zero-length) and zip_read_file_header tripped over itself when non-regular files had compressed bodies. Revision Changes Path 1.29 +41 -44 src/lib/libarchive/archive_read_support_format_zip.c 1.49 +3 -0 src/lib/libarchive/archive_write_disk.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903060450.n264onxT038156>