]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
9 years agoDisable ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS in bsdcpio p mode 709/head
Martin Matuska [Sun, 15 May 2016 08:38:46 +0000 (10:38 +0200)] 
Disable ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS in bsdcpio p mode

9 years agoReject cpio symlinks that exceed 1MB
Tim Kientzle [Sat, 14 May 2016 19:37:37 +0000 (12:37 -0700)] 
Reject cpio symlinks that exceed 1MB

9 years agoMerge pull request #702 from mmatuska/bsdcat_warnings
Tim Kientzle [Thu, 12 May 2016 15:33:27 +0000 (08:33 -0700)] 
Merge pull request #702 from mmatuska/bsdcat_warnings

cat: declare static variables and fix compiler warnings

9 years agoMerge pull request #703 from mmatuska/libarchive_fe_static
Tim Kientzle [Thu, 12 May 2016 15:32:55 +0000 (08:32 -0700)] 
Merge pull request #703 from mmatuska/libarchive_fe_static

libarchive_fe: declare lafe_progname static

9 years agoMerge pull request #701 from mmatuska/const_char_fix
Tim Kientzle [Thu, 12 May 2016 15:32:27 +0000 (08:32 -0700)] 
Merge pull request #701 from mmatuska/const_char_fix

Fix const char warnings

9 years agocat: declare static variables and fix several compiler warnings 702/head
Martin Matuska [Wed, 11 May 2016 09:26:47 +0000 (11:26 +0200)] 
cat: declare static variables and fix several compiler warnings

9 years agoFix const char warning 701/head
Martin Matuska [Wed, 11 May 2016 07:01:43 +0000 (09:01 +0200)] 
Fix const char warning

9 years agoMake some arguments const
Tim Kientzle [Wed, 11 May 2016 01:54:02 +0000 (18:54 -0700)] 
Make some arguments const

9 years agoDeclare lafe_progname static 703/head
Martin Matuska [Wed, 11 May 2016 00:09:53 +0000 (02:09 +0200)] 
Declare lafe_progname static

9 years agoMerge pull request #700 from xtraeme/lzma-xz-mt
Tim Kientzle [Fri, 6 May 2016 02:34:21 +0000 (19:34 -0700)] 
Merge pull request #700 from xtraeme/lzma-xz-mt

configure.ac: declare HAVE_LZMA_STREAM_ENCODER_MT properly

9 years agoconfigure.ac: define HAVE_LZMA_STREAM_ENCODER_MT if it is detected properly. 700/head
Juan RP [Thu, 5 May 2016 05:55:57 +0000 (07:55 +0200)] 
configure.ac: define HAVE_LZMA_STREAM_ENCODER_MT if it is detected properly.

... otherwise HAVE_LZMA_STREAM_ENCODER_MT is undefined and the code
for multithreaded xz compression is skipped completely.

9 years agoMerge pull request #698 from bradking/fix-spelling-typos
Joerg Sonnenberger [Mon, 2 May 2016 16:07:05 +0000 (18:07 +0200)] 
Merge pull request #698 from bradking/fix-spelling-typos

Fix spelling typos in comments

9 years agoFix spelling typos in comments 698/head
Brad King [Mon, 2 May 2016 14:56:28 +0000 (10:56 -0400)] 
Fix spelling typos in comments

The Debian package checker tool (lintian) detected a few typos.

Reported-by: Felix Geyer <fgeyer@debian.org>
9 years agoLibarchive 3.2.0 v3.2.0
Tim Kientzle [Sat, 30 Apr 2016 17:26:35 +0000 (10:26 -0700)] 
Libarchive 3.2.0

9 years agoSync up test harnesses
Tim Kientzle [Sat, 30 Apr 2016 04:49:34 +0000 (21:49 -0700)] 
Sync up test harnesses

9 years agoMerge branch 'vu862384'
Tim Kientzle [Sat, 30 Apr 2016 04:41:49 +0000 (21:41 -0700)] 
Merge branch 'vu862384'

Fixes Issue 656
Fixes CVE-2016-1541
Fixes VU#862384
Fixes TALOS-CAN-155

9 years agoIssue 585: archive.h needs time.h
Tim Kientzle [Fri, 29 Apr 2016 02:54:47 +0000 (19:54 -0700)] 
Issue 585: archive.h needs time.h

9 years agoIssue 695: check fwrite return value, sync up test harnesses
Tim Kientzle [Fri, 29 Apr 2016 02:44:20 +0000 (19:44 -0700)] 
Issue 695: check fwrite return value, sync up test harnesses

9 years agoIssue 693: assert() wants a boolean, not a pointer
Tim Kientzle [Thu, 28 Apr 2016 06:27:43 +0000 (23:27 -0700)] 
Issue 693: assert() wants a boolean, not a pointer

9 years agoIssue 690: Document the possible need for -lacl on some Linux systems
Tim Kientzle [Thu, 28 Apr 2016 06:20:40 +0000 (23:20 -0700)] 
Issue 690: Document the possible need for -lacl on some Linux systems

9 years agoIssue 692: More robust check for lzma_stream_encoder_mt
Tim Kientzle [Thu, 28 Apr 2016 06:15:08 +0000 (23:15 -0700)] 
Issue 692: More robust check for lzma_stream_encoder_mt

9 years agoIssue 692: Fix typo in newc cpio test
Tim Kientzle [Thu, 28 Apr 2016 06:10:02 +0000 (23:10 -0700)] 
Issue 692: Fix typo in newc cpio test

9 years agoIssue 685: Just verify the body of the error message; ignore the program name
Tim Kientzle [Thu, 28 Apr 2016 06:05:19 +0000 (23:05 -0700)] 
Issue 685: Just verify the body of the error message; ignore the program name

9 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Thu, 28 Apr 2016 05:48:41 +0000 (22:48 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

9 years agoIssue 686: Correctly retry if the buffer needs to be grown
Tim Kientzle [Thu, 28 Apr 2016 05:48:20 +0000 (22:48 -0700)] 
Issue 686: Correctly retry if the buffer needs to be grown

9 years agoDefault to Windows 7 SDK
Tim Kientzle [Mon, 25 Apr 2016 03:41:12 +0000 (20:41 -0700)] 
Default to Windows 7 SDK

Some of our current crypto bindings require the Win7 SDK.
Once we can rework those, this could reasonably be changed
to Win Vista or possibly Win Server 2003.

I'd like to completely remove support for WinXP and earlier.

9 years agoDefine NTDDI_VERSION on Windows, default to Windows Server 2003 instead of WinXP
Tim Kientzle [Mon, 25 Apr 2016 03:39:15 +0000 (20:39 -0700)] 
Define NTDDI_VERSION on Windows, default to Windows Server 2003 instead of WinXP

9 years agoAccomodate different return codes on Windows
Tim Kientzle [Mon, 25 Apr 2016 03:35:45 +0000 (20:35 -0700)] 
Accomodate different return codes on Windows

9 years agoArithmetic with void * pointers is a bad idea
Tim Kientzle [Mon, 25 Apr 2016 01:45:58 +0000 (18:45 -0700)] 
Arithmetic with void * pointers is a bad idea

9 years agoIssue #656: Fix CVE-2016-1541, VU#862384
Tim Kientzle [Mon, 25 Apr 2016 00:13:45 +0000 (17:13 -0700)] 
Issue #656:  Fix CVE-2016-1541, VU#862384

When reading OS X metadata entries in Zip archives that were stored
without compression, libarchive would use the uncompressed entry size
to allocate a buffer but would use the compressed entry size to limit
the amount of data copied into that buffer.  Since the compressed
and uncompressed sizes are provided by data in the archive itself,
an attacker could manipulate these values to write data beyond
the end of the allocated buffer.

This fix provides three new checks to guard against such
manipulation and to make libarchive generally more robust when
handling this type of entry:
 1. If an OS X metadata entry is stored without compression,
    abort the entire archive if the compressed and uncompressed
    data sizes do not match.
 2. When sanity-checking the size of an OS X metadata entry,
    abort this entry if either the compressed or uncompressed
    size is larger than 4MB.
 3. When copying data into the allocated buffer, check the copy
    size against both the compressed entry size and uncompressed
    entry size.

9 years agoEnsure that cryptor, hmac, and xxhash always define at least one symbol. This preven...
Tim Kientzle [Sun, 24 Apr 2016 22:16:10 +0000 (15:16 -0700)] 
Ensure that cryptor, hmac, and xxhash always define at least one symbol.  This prevents headaches with compilers and linkers that choke on empty object files.

9 years agoDefine INT32_MAX and INT32_MIN for older compilers
Tim Kientzle [Sun, 24 Apr 2016 21:46:36 +0000 (14:46 -0700)] 
Define INT32_MAX and INT32_MIN for older compilers

9 years agoUpdates
Tim Kientzle [Sun, 24 Apr 2016 21:45:00 +0000 (14:45 -0700)] 
Updates

9 years agoMove variable declarations to beginning of block for non-C99 compilers
Tim Kientzle [Sun, 24 Apr 2016 18:59:46 +0000 (11:59 -0700)] 
Move variable declarations to beginning of block for non-C99 compilers

9 years agoMerge pull request #683 from flandr/fix-invalid-loop
Tim Kientzle [Thu, 14 Apr 2016 06:10:10 +0000 (23:10 -0700)] 
Merge pull request #683 from flandr/fix-invalid-loop

Fix C99 build error

9 years agoMerge pull request #684 from flandr/test-workaround
Tim Kientzle [Thu, 14 Apr 2016 06:09:14 +0000 (23:09 -0700)] 
Merge pull request #684 from flandr/test-workaround

Remove now-unnecessary test workaround

9 years agoRemove now-unnecessary test workaround 684/head
Nate Rosenblum [Wed, 13 Apr 2016 23:29:05 +0000 (16:29 -0700)] 
Remove now-unnecessary test workaround

9 years agoFix C90 build errors 683/head
Nate Rosenblum [Wed, 13 Apr 2016 23:14:02 +0000 (16:14 -0700)] 
Fix C90 build errors

9 years agoMerge pull request #681 from prehistoric-penguin/master
Tim Kientzle [Mon, 11 Apr 2016 13:24:13 +0000 (06:24 -0700)] 
Merge pull request #681 from prehistoric-penguin/master

fix missing archive_write_close for write object

9 years agofix missing archive_write_close for write object 681/head
prehistoric-penguin [Mon, 11 Apr 2016 09:29:05 +0000 (17:29 +0800)] 
fix missing archive_write_close for write object

fix missing archive_write_close and archive_write_free

9 years agoManpage updates
Tim Kientzle [Mon, 11 Apr 2016 01:32:13 +0000 (18:32 -0700)] 
Manpage updates

9 years agoUpdate list of supported filters
Tim Kientzle [Sun, 10 Apr 2016 20:28:15 +0000 (13:28 -0700)] 
Update list of supported filters

9 years agoTag libarchive 3.1.901a v3.1.901a
Tim Kientzle [Sun, 10 Apr 2016 18:33:06 +0000 (11:33 -0700)] 
Tag libarchive 3.1.901a

9 years agoBe more accurate about finding tests
Tim Kientzle [Sun, 10 Apr 2016 18:32:43 +0000 (11:32 -0700)] 
Be more accurate about finding tests

9 years agoDisable some troublesome LZ4 tests.
Tim Kientzle [Sun, 10 Apr 2016 04:56:22 +0000 (21:56 -0700)] 
Disable some troublesome LZ4 tests.

9 years agoIssue #655: Be more careful verifying sparse file reading
Tim Kientzle [Sun, 10 Apr 2016 01:10:37 +0000 (18:10 -0700)] 
Issue #655:  Be more careful verifying sparse file reading

The old logic took a number of shortcuts; this now does a careful
comparison of the template used to generate the file with
the contents read back, verifying that the read blocks reflect
the expected pattern of zero and non-zero bytes and that the
expected number of holes actually appear.

9 years agoMerge pull request #679 from ericvw/cmake_aix
Tim Kientzle [Tue, 5 Apr 2016 03:40:38 +0000 (20:40 -0700)] 
Merge pull request #679 from ericvw/cmake_aix

Support CMake build on AIX

9 years agoSupport CMake build on AIX 679/head
Eric N. Vander Weele [Tue, 5 Apr 2016 00:20:59 +0000 (20:20 -0400)] 
Support CMake build on AIX

This change introduces support for building on AIX via CMake.  `gcc`
warning options are mapped to equivalent options in the `xlc` suite
where possible.  The compiler is overridden to be `xlc_r` instead of
`cc` for thread-safe compilation and linking.

Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
9 years agoUpdate test to use more modern assertions
Tim Kientzle [Mon, 4 Apr 2016 02:03:14 +0000 (19:03 -0700)] 
Update test to use more modern assertions

9 years agoIssue 550: Fix out-of-bounds read in mtree.
Tim Kientzle [Sun, 3 Apr 2016 18:03:22 +0000 (11:03 -0700)] 
Issue 550:  Fix out-of-bounds read in mtree.

The mtree parser scanned from the end of the string to identify
the filename when the filename is the last element of the line.
If the filename was the entire line, the logic would scan back
to before the start of the string.

The revised logic scans from the beginning of the string
and remembers the last separator position to locate the
trailing filename.

9 years agoFix recognition of dirs when only MSDOS file attributes are available.
Tim Kientzle [Sun, 3 Apr 2016 04:10:42 +0000 (21:10 -0700)] 
Fix recognition of dirs when only MSDOS file attributes are available.

9 years agoIssue 675: SIGRTMAX can be non-constant, so allocate the signal tracking array at...
Tim Kientzle [Wed, 23 Mar 2016 03:28:42 +0000 (20:28 -0700)] 
Issue 675: SIGRTMAX can be non-constant, so allocate the signal tracking array at runtime

9 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Wed, 23 Mar 2016 02:29:26 +0000 (19:29 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

9 years agoMerge pull request #617 from chenxiaolong/ifdef-statvfs-usage
Tim Kientzle [Tue, 22 Mar 2016 03:33:21 +0000 (20:33 -0700)] 
Merge pull request #617 from chenxiaolong/ifdef-statvfs-usage

Avoid statvfs/fstatvfs calls on systems where it is not available

9 years agoMerge pull request #663 from vapier/master
Tim Kientzle [Tue, 22 Mar 2016 03:27:16 +0000 (20:27 -0700)] 
Merge pull request #663 from vapier/master

add missing _PC_NAME_MAX checks

9 years agoMerge pull request #672 from ericvw/nsig_sigrtmax
Tim Kientzle [Tue, 22 Mar 2016 03:24:43 +0000 (20:24 -0700)] 
Merge pull request #672 from ericvw/nsig_sigrtmax

Replace usage of _NSIG with SIGRTMAX

9 years agoMerge pull request #655 from flandr/fully-sparse
Tim Kientzle [Tue, 22 Mar 2016 03:23:37 +0000 (20:23 -0700)] 
Merge pull request #655 from flandr/fully-sparse

Support efficient creation of fully-sparse files

9 years agoReplace usage of _NSIG with SIGRTMAX 672/head
Eric N. Vander Weele [Fri, 18 Mar 2016 21:31:12 +0000 (14:31 -0700)] 
Replace usage of _NSIG with SIGRTMAX

POSIX specification defines SIGRTMAX.  _NSIG is not defined on all
platforms (e.g, AIX).

Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
9 years agoUpdate MSDOS file attribute test
Tim Kientzle [Mon, 14 Mar 2016 03:10:24 +0000 (20:10 -0700)] 
Update MSDOS file attribute test

9 years agoIssue 422: Add archive_xxx_version() calls so tests can more accurately query libarc...
Tim Kientzle [Sun, 13 Mar 2016 01:38:21 +0000 (17:38 -0800)] 
Issue 422:  Add archive_xxx_version() calls so tests can more accurately query libarchive support

Rework some of the Zip, Cab, and LZ4 tests to use these
to determine what behavior they should expect.

9 years agoMerge pull request #668 from dosomder/android-compile
Tim Kientzle [Sat, 12 Mar 2016 21:09:44 +0000 (13:09 -0800)] 
Merge pull request #668 from dosomder/android-compile

Add api level check for android config

9 years agoAdd api level check for android config 668/head
dosomder [Sat, 12 Mar 2016 10:34:01 +0000 (11:34 +0100)] 
Add api level check for android config

Some features are only included since api level 21

9 years agoMerge pull request #666 from dosomder/android-compile
Tim Kientzle [Sat, 12 Mar 2016 05:26:18 +0000 (21:26 -0800)] 
Merge pull request #666 from dosomder/android-compile

Fix compiling for android

9 years agoAdd ST_MTIME_NSEC case to archive_entry_copy_stat 666/head 667/head
dosomder [Fri, 11 Mar 2016 19:06:17 +0000 (20:06 +0100)] 
Add ST_MTIME_NSEC case to archive_entry_copy_stat

Android uses st_mtime_nsec

9 years agoFix android intmax compiler warnings
dosomder [Fri, 11 Mar 2016 19:02:37 +0000 (20:02 +0100)] 
Fix android intmax compiler warnings

9 years agoadd missing _PC_NAME_MAX checks 663/head
Mike Frysinger [Sun, 28 Feb 2016 18:10:16 +0000 (13:10 -0500)] 
add missing _PC_NAME_MAX checks

This file looks for _PC_NAME_MAX in a few places, but not all.
Add some ifdefs in setup_current_filesystem too.

9 years agoMerge pull request #645 from andrewgregory/check_symlinks
Tim Kientzle [Fri, 26 Feb 2016 03:01:33 +0000 (19:01 -0800)] 
Merge pull request #645 from andrewgregory/check_symlinks

fix check_symlinks

9 years agoAdd more sample zip files to the fuzz test
Tim Kientzle [Wed, 24 Feb 2016 04:36:37 +0000 (20:36 -0800)] 
Add more sample zip files to the fuzz test

9 years agoadd test for SECURE_SYMLINKS with absolute path 645/head
Andrew Gregory [Tue, 23 Feb 2016 02:17:20 +0000 (21:17 -0500)] 
add test for SECURE_SYMLINKS with absolute path

9 years agoSkip root directory symlink check
Andrew Gregory [Fri, 15 Jan 2016 07:39:41 +0000 (02:39 -0500)] 
Skip root directory symlink check

The first time check_symlinks is called on an absolute path it will use
the entry pathname directly, blanking the leading slash.  This leads to
calling lstat on an empty string, which returns ENOENT, terminating the
loop early and falsely marking the path as safe.

9 years agoadd test for SECURE_SYMLINKS for first child
Andrew Gregory [Tue, 23 Feb 2016 02:18:02 +0000 (21:18 -0500)] 
add test for SECURE_SYMLINKS for first child

9 years agoRestore modified path after lstat
Andrew Gregory [Fri, 15 Jan 2016 07:40:00 +0000 (02:40 -0500)] 
Restore modified path after lstat

check_symlinks is intended to check each component of a path, but failed
to restore the stripped trailing components after each iteration,
leaving a NUL byte in the middle of the path.

9 years agoFix for issue #623.
Tim Kientzle [Sun, 21 Feb 2016 20:34:57 +0000 (12:34 -0800)] 
Fix for issue #623.

Apparently, people have come to expect that the following
is sufficient to get bit-for-bit identical output from tar:
   * Same filenames
   * Same contents
   * Same uid, gid
   * Same mtime (forced via "touch -t <timestamp>")
   * Sorting entries

Bsdtar's "restricted pax" format violated this by including
ctime, atime, and birthtime (which are not updated by
'touch -t).  So we should only emit those additional time
values in the full pax format.

People who are really serious about generating bit-for-bit
identical archives should really build their own command-line
interface: You can still use libarchive to build the output,
but your custom CLI could sort the entries and strip everything
except a bare minimum of basic metadata.

9 years agoClarify the limit on number of filters
Tim Kientzle [Sun, 21 Feb 2016 19:43:03 +0000 (11:43 -0800)] 
Clarify the limit on number of filters

9 years agoFix globbing error v3.1.900a
Tim Kientzle [Sun, 21 Feb 2016 16:51:18 +0000 (08:51 -0800)] 
Fix globbing error

9 years agoSupport fully-sparse files 655/head
Nate Rosenblum [Sat, 6 Feb 2016 01:39:03 +0000 (17:39 -0800)] 
Support fully-sparse files

Avoids an edge condition where fully-sparse files would not trigger
sparse file handling, leading to large tar files full of zeros.

9 years agoFix -c test: we forced uid/gid to 1000, so we should not compare against the current...
Tim Kientzle [Sun, 14 Feb 2016 06:13:22 +0000 (22:13 -0800)] 
Fix -c test:  we forced uid/gid to 1000, so we should not compare against the current user

9 years agoFix stringification here
Tim Kientzle [Sun, 14 Feb 2016 06:06:09 +0000 (22:06 -0800)] 
Fix stringification here

9 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Sat, 19 Mar 2016 18:34:03 +0000 (11:34 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

9 years agoIssue #377: Help cpio tests pass on systems with large UIDs
Tim Kientzle [Sat, 19 Mar 2016 18:29:37 +0000 (11:29 -0700)] 
Issue #377: Help cpio tests pass on systems with large UIDs

9 years agoMerge pull request #630 from bjacke/vv-verbose-write
Tim Kientzle [Sat, 19 Mar 2016 18:19:11 +0000 (11:19 -0700)] 
Merge pull request #630 from bjacke/vv-verbose-write

Vv verbose mode for write write

9 years agoComment fileno() usage
Tim Kientzle [Sat, 19 Mar 2016 18:18:16 +0000 (11:18 -0700)] 
Comment fileno() usage

9 years agoMerge pull request #670 from dosomder/665-android-lf-support
Tim Kientzle [Sat, 19 Mar 2016 18:15:10 +0000 (11:15 -0700)] 
Merge pull request #670 from dosomder/665-android-lf-support

Add large file support for android

9 years agoMerge pull request #669 from dosomder/639-lz4-update
Tim Kientzle [Sat, 19 Mar 2016 18:10:42 +0000 (11:10 -0700)] 
Merge pull request #669 from dosomder/639-lz4-update

Update LZ4 support to track 1.7 API changes.

9 years agoMerge pull request #673 from ericvw/dynamic_compile_flags
Tim Kientzle [Sat, 19 Mar 2016 17:11:16 +0000 (10:11 -0700)] 
Merge pull request #673 from ericvw/dynamic_compile_flags

Dynamically determine supported compiler flags during configure

9 years agoDynamically determine supported compiler flags during configure 673/head
Eric N. Vander Weele [Fri, 18 Mar 2016 22:51:25 +0000 (18:51 -0400)] 
Dynamically determine supported compiler flags during configure

Some compilers (e.g., `xlc` on AIX) don't support GCC compiler flags.
This change dynamically tests for supported `COMMON_FLAGS`, which get
appended to `CFLAGS`.

Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
9 years agoAdd large file support for android 670/head
dosomder [Sun, 13 Mar 2016 16:52:24 +0000 (17:52 +0100)] 
Add large file support for android

Android doesn't support the macro _FILE_OFFSET_BITS=64 however it does
support a few file64 functions

9 years agoFix lz4 compression_level check 669/head
dosomder [Sat, 12 Mar 2016 22:40:36 +0000 (23:40 +0100)] 
Fix lz4 compression_level check

Match this check with the rest of the file where HC is level 3 and up

9 years agoUse LZ4_loadDict
dosomder [Sat, 12 Mar 2016 22:37:04 +0000 (23:37 +0100)] 
Use LZ4_loadDict

dict was saved but never loaded. Gave a minor compression improvement
with a 8868100 bytes test file and compression-level 1

9 years agoUse updated lz4 compression functions
dosomder [Sat, 12 Mar 2016 22:35:22 +0000 (23:35 +0100)] 
Use updated lz4 compression functions

A few functions in the lz4 library are deprecated, some are obsolete.

9 years agoMake LZ4 HC optional
dosomder [Sat, 12 Mar 2016 19:35:06 +0000 (20:35 +0100)] 
Make LZ4 HC optional

9 years agoUse LZ4_decompress_safe_usingDict for reading
dosomder [Sat, 12 Mar 2016 17:52:33 +0000 (18:52 +0100)] 
Use LZ4_decompress_safe_usingDict for reading

This function was added on May 4, 2014

https://github.com/Cyan4973/lz4/blob/7bcb3b2e9f36ad6adef2cb43858a8f3adb39c527/lz4.h

The old function LZ4_decompress_safe_withPrefix64k is deprecated since
April 11, 2015

https://github.com/Cyan4973/lz4/blob/973e385fa332485f4617cf16406a8c8ef631a555/lib/lz4.h

9 years agoUpdate NEWS with highlights from last two years of work
Tim Kientzle [Sun, 14 Feb 2016 06:03:35 +0000 (22:03 -0800)] 
Update NEWS with highlights from last two years of work

9 years agoMinor adjustments to DEBUG messages
Tim Kientzle [Sun, 14 Feb 2016 06:02:54 +0000 (22:02 -0800)] 
Minor adjustments to DEBUG messages

9 years agoIssue #659: Fix xar parsing of archives with appleextended ACLs
Tim Kientzle [Sun, 14 Feb 2016 05:52:24 +0000 (21:52 -0800)] 
Issue #659:  Fix xar parsing of archives with appleextended ACLs

The parser treated the <appleextended> tag as both known and
unknown, leaving the parser in a state that prevented it
from reading any further attributes.  Depending on the
order of attributes, this could result in a file with no
name, for instance.

9 years agoMake assertions explicit in sparse tests
Nate Rosenblum [Fri, 5 Feb 2016 17:15:14 +0000 (09:15 -0800)] 
Make assertions explicit in sparse tests

Instead of trying to special-case sparse data vs dense data detection
in verify_sparse_file (by resetting the `data_blocks` if no holes are
found), make the expected number of data blocks an explicit parameter.

Simplifies a subsequently introduced test case; no functional changes.

9 years agoadd vv option details in bsdtar man page 630/head
Bjoern Jacke [Mon, 11 Jan 2016 14:25:03 +0000 (15:25 +0100)] 
add vv option details in bsdtar man page

9 years agobsdtar: add support for "vv" verbose style when writing archives
Bjoern Jacke [Mon, 28 Dec 2015 11:58:16 +0000 (12:58 +0100)] 
bsdtar: add support for "vv" verbose style when writing archives

9 years agobsdtar: also print preceding "x" when extracting in vv mode
Bjoern Jacke [Mon, 28 Dec 2015 11:56:38 +0000 (12:56 +0100)] 
bsdtar: also print preceding "x" when extracting in vv mode

9 years agobsdtar: move list_item_verbose() into common util.c
Bjoern Jacke [Mon, 28 Dec 2015 11:19:51 +0000 (12:19 +0100)] 
bsdtar: move list_item_verbose() into common util.c