]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r228744, r228745, r228748:
authormm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2012 11:45:22 +0000 (11:45 +0000)
committermm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2012 11:45:22 +0000 (11:45 +0000)
commitfe6d8d41601ee1600eb6ea0f6c4f0d7c4a261fdf
treeacdcf94a9375ffa29b9dc431eaac49e4c84877b1
parentbf2e004599643a9edd0e6487d187b44b0b82c3b2
MFC r228744, r228745, r228748:

MFC r228744 [1]:
Merge vendor revision 3723:
Fixes extraction of Zip entries that use length-at-end without specifying
either the compressed or uncompressed length.  In particular, fixes bsdtar
extraction of such files.

Reported by: Patrick Lamaiziere <patfbsd@davenulle.org> (freebsd-stable@)

MFC r228745:
Update libarchive, tar and cpio to version 2.8.5

The following additional vendor revisions are applied:

Revision 3740:
Use archive_clear_error() to clear the error markers.

Obtained from: http://code.google.com/p/libarchive

MFC r228748:
Sync libarchive with vendor branch release/2.8:

3730:
Fix issue 174 (Windows path names, not relevant for FreeBSD)

3734:
Merge r1989: archive_clear_error should set errno to 0.

3735:
Merge r3247 from trunk: Clear errors before returning
from archive_read_support_format_all()

3799:
Check the position before dereferencing the pointer.
This avoids dereferencing one byte past the end of a string

3824:
Merge r3823 from trunk for issue 199 (hang in iso9660 reading)

Obtained from: http://code.google.com/p/libarchive

git-svn-id: svn://svn.freebsd.org/base/stable/8@229589 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
27 files changed:
lib/libarchive/archive.h
lib/libarchive/archive_read.c
lib/libarchive/archive_read_extract.c
lib/libarchive/archive_read_support_compression_bzip2.c
lib/libarchive/archive_read_support_compression_uu.c
lib/libarchive/archive_read_support_format_all.c
lib/libarchive/archive_read_support_format_cpio.c
lib/libarchive/archive_read_support_format_iso9660.c
lib/libarchive/archive_read_support_format_tar.c
lib/libarchive/archive_read_support_format_zip.c
lib/libarchive/archive_string.c
lib/libarchive/archive_string.h
lib/libarchive/archive_util.c
lib/libarchive/archive_write_disk.c
lib/libarchive/archive_write_set_compression_xz.c
lib/libarchive/archive_write_set_format_ar.c
lib/libarchive/archive_write_set_format_shar.c
lib/libarchive/archive_write_set_format_ustar.c
lib/libarchive/config_freebsd.h
lib/libarchive/libarchive-formats.5
lib/libarchive/libarchive.3
lib/libarchive/test/Makefile
lib/libarchive/test/test_compat_zip.c
lib/libarchive/test/test_read_format_iso_Z.c [moved from lib/libarchive/test/test_read_format_iso_gz.c with 95% similarity]
usr.bin/cpio/Makefile
usr.bin/tar/Makefile
usr.bin/tar/tree.c