Date: Thu, 17 Sep 2009 06:31:59 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libarchive archive_read.c src/lib/libarchive/test test_compat_zip.c Message-ID: <200909170632.n8H6WAJ8031367@repoman.freebsd.org>
index | next in thread | raw e-mail
kientzle 2009-09-17 06:31:59 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
lib/libarchive archive_read.c
lib/libarchive/test test_compat_zip.c
Log:
SVN rev 197266 on 2009-09-17 06:31:59Z by kientzle
MFC r196962: Fix /usr/bin/unzip: A bug deep in libarchive's read-ahead logic
(incorrect handling of zero-length reads before the copy buffer is
allocated) is masked by the iso9660 taster. Tar and cpio both enable
that taster so were protected from the bug; unzip is susceptible.
This both fixes the bug and updates the test harness to exercise
this case.
Submitted by: Ed Schouten diagnosed the bug and drafted a patch
Approved by: re (kib)
Revision Changes Path
1.50.2.2 +5 -2 src/lib/libarchive/archive_read.c
1.5.2.2 +1 -1 src/lib/libarchive/test/test_compat_zip.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909170632.n8H6WAJ8031367>
