]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
6 years agoDon't default XAR entry atime/mtime to the current time 1070/head
Zack Weger [Tue, 2 Oct 2018 22:19:27 +0000 (18:19 -0400)] 
Don't default XAR entry atime/mtime to the current time

6 years agoCorrectly process and verify integer arguments passed to bsdcpio and bsdtar
Martin Matuska [Sat, 22 Sep 2018 22:04:36 +0000 (00:04 +0200)] 
Correctly process and verify integer arguments passed to bsdcpio and bsdtar

Fixes #1068

6 years agoUse PATH_MAX if available for temporary path buffer
Martin Matuska [Thu, 20 Sep 2018 14:52:34 +0000 (16:52 +0200)] 
Use PATH_MAX if available for temporary path buffer
Check if temporary file path fits into buffer

Fixes #1067

6 years agoMerge pull request #1066 from Young-X/master
Martin Matuška [Thu, 20 Sep 2018 12:23:14 +0000 (14:23 +0200)] 
Merge pull request #1066 from Young-X/master

fix several potential vulnerabilities of libarchive

6 years agofix out of bounds read on empty string () filename for guntar, pax and v7tar 1066/head
Young_X [Tue, 18 Sep 2018 12:18:08 +0000 (20:18 +0800)] 
fix out of bounds read on empty string () filename for guntar, pax and v7tar

6 years agoHandle whitespace-only ACL fields correctly.
Joerg Sonnenberger [Sun, 9 Sep 2018 18:31:59 +0000 (20:31 +0200)] 
Handle whitespace-only ACL fields correctly.

The logic would result in possible reads before the start of a buffer.

Reported-By: OSS-Fuzz issue 10192
6 years agoMerge pull request #1019 from donmeyer/add_allocation_check
Tim Kientzle [Sat, 8 Sep 2018 19:27:00 +0000 (12:27 -0700)] 
Merge pull request #1019 from donmeyer/add_allocation_check

Add allocation check for the zip_entry struct.

6 years agoMerge pull request #1032 from anthonybrandon/master
Tim Kientzle [Sat, 8 Sep 2018 19:26:03 +0000 (12:26 -0700)] 
Merge pull request #1032 from anthonybrandon/master

Android.mk: update libarchive sources

6 years agoMerge pull request #1037 from NamedKitten/patch-1
Tim Kientzle [Sat, 8 Sep 2018 19:24:51 +0000 (12:24 -0700)] 
Merge pull request #1037 from NamedKitten/patch-1

Remove duplicate line in README.md

6 years agoFix OpenSSL version number
Tim Kientzle [Sat, 8 Sep 2018 19:23:50 +0000 (12:23 -0700)] 
Fix OpenSSL version number

6 years agoMore information about sparse test failures
Tim Kientzle [Sat, 8 Sep 2018 18:26:48 +0000 (11:26 -0700)] 
More information about sparse test failures

6 years agoUse plain OPENSSL_VERSION_NUMBER and also block LibreSSL crap.
Joerg Sonnenberger [Wed, 5 Sep 2018 13:04:12 +0000 (15:04 +0200)] 
Use plain OPENSSL_VERSION_NUMBER and also block LibreSSL crap.

6 years agoRedo OPENSSL_VERSION_AT_LEAST check to deal with CPP idiosyncrasies
Joerg Sonnenberger [Wed, 5 Sep 2018 09:48:07 +0000 (11:48 +0200)] 
Redo OPENSSL_VERSION_AT_LEAST check to deal with CPP idiosyncrasies

6 years agoCheck for OPENSSL_VERSION_AT_LEAST before using it.
Joerg Sonnenberger [Tue, 4 Sep 2018 17:56:58 +0000 (19:56 +0200)] 
Check for OPENSSL_VERSION_AT_LEAST before using it.

As all useful things in the OpenSSL API, it is too new to be used
unconditionally. Ignore OpenSSL 1.1.0 compat for now until someone
complains.

6 years agoDon't disable -lcrypto if all hashes are provided by libc
Joerg Sonnenberger [Tue, 4 Sep 2018 13:50:17 +0000 (15:50 +0200)] 
Don't disable -lcrypto if all hashes are provided by libc

Since libarchive contains AES support nowadays, libcrypto will be needed
even if all hashes are provided otherwise.

6 years agoAvoid ctype warnings.
Joerg Sonnenberger [Tue, 4 Sep 2018 13:45:19 +0000 (15:45 +0200)] 
Avoid ctype warnings.

6 years agoEVP_CIPHER_CTX_init is deprecated, so avoid it for OpenSSL 1.1+
Joerg Sonnenberger [Tue, 4 Sep 2018 13:34:44 +0000 (15:34 +0200)] 
EVP_CIPHER_CTX_init is deprecated, so avoid it for OpenSSL 1.1+

6 years agoSet file type explicitly for all entries.
Joerg Sonnenberger [Tue, 4 Sep 2018 13:34:13 +0000 (15:34 +0200)] 
Set file type explicitly for all entries.

6 years agoSet up 3.3.4dev
Tim Kientzle [Tue, 4 Sep 2018 03:15:01 +0000 (20:15 -0700)] 
Set up 3.3.4dev

6 years ago3.3.3 v3.3.3
Tim Kientzle [Tue, 4 Sep 2018 03:07:16 +0000 (20:07 -0700)] 
3.3.3

6 years agoUpdate README and NEWS
Tim Kientzle [Mon, 3 Sep 2018 22:45:28 +0000 (15:45 -0700)] 
Update README and NEWS

6 years agoCpio test: Expected error message depends on local strerror()
Tim Kientzle [Sun, 2 Sep 2018 07:25:08 +0000 (00:25 -0700)] 
Cpio test: Expected error message depends on local strerror()

6 years agoCheck for and include sys/sysmacros.h for GNU libc based systems.
Tim Kientzle [Sun, 2 Sep 2018 06:49:08 +0000 (23:49 -0700)] 
Check for and include sys/sysmacros.h for GNU libc based systems.

6 years agoMac OS X: Handle changed behavior of CCCryptorReset()
Martin Matuska [Sun, 19 Aug 2018 00:50:01 +0000 (02:50 +0200)] 
Mac OS X: Handle changed behavior of CCCryptorReset()

Fixes #951
Fixes #1049

7 years agoiso9660: unduplicate and simplify code in parse_file_info()
Martin Matuska [Sun, 5 Aug 2018 00:58:07 +0000 (02:58 +0200)] 
iso9660: unduplicate and simplify code in parse_file_info()

7 years agoMerge pull request #1042 from jstarks:iso9660_cve
Martin Matuska [Sun, 5 Aug 2018 00:49:56 +0000 (02:49 +0200)] 
Merge pull request #1042 from jstarks:iso9660_cve

iso9660: validate directory record length

Fixes CVE-2017-14501

7 years agoiso9660: validate directory record length 1042/head
John Starks [Wed, 25 Jul 2018 19:16:34 +0000 (12:16 -0700)] 
iso9660: validate directory record length

7 years agoReject LHA archive entries with negative size.
Joerg Sonnenberger [Thu, 19 Jul 2018 19:14:53 +0000 (21:14 +0200)] 
Reject LHA archive entries with negative size.

7 years agoSwitch mtree reader from hash table to RB tree.
Joerg Sonnenberger [Thu, 19 Jul 2018 13:59:23 +0000 (15:59 +0200)] 
Switch mtree reader from hash table to RB tree.

This avoids easily triggerable super-linear performance on malformed
input. It is the first iteration towards better performance for
duplicate entries.

7 years agoBe consistent about la_ssize_t and ssize_t (#1010).
Joerg Sonnenberger [Thu, 19 Jul 2018 13:54:45 +0000 (15:54 +0200)] 
Be consistent about la_ssize_t and ssize_t (#1010).

7 years agoRemove duplicate line in README.md 1037/head
NamedKitten [Tue, 17 Jul 2018 16:29:11 +0000 (17:29 +0100)] 
Remove duplicate line in README.md

The format ""POSIX octet-oriented cpio was listed twice in the same list.

7 years agoAndroid.mk: update libarchive sources 1032/head
Anthony Brandon [Thu, 21 Jun 2018 11:38:15 +0000 (13:38 +0200)] 
Android.mk: update libarchive sources

Remove non existent file and add missing file the list of libarchive
sources in Android.mk.

Signed-off-by: Anthony Brandon <anthony@amarulasolutions.com>
7 years agoMerge pull request #1027 from somasis/master
Tim Kientzle [Mon, 18 Jun 2018 01:04:44 +0000 (18:04 -0700)] 
Merge pull request #1027 from somasis/master

archive_entry.h: Don't use int64_t without including stdint.h

7 years agoarchive_entry.h: Fix missing int64_t type on musl libc 1027/head
Kylie McClain [Wed, 13 Jun 2018 21:11:48 +0000 (17:11 -0400)] 
archive_entry.h: Fix missing int64_t type on musl libc

7 years agoMerge pull request #1024 from phcerdan/fix_strncpy_warning
Tim Kientzle [Sun, 10 Jun 2018 16:28:29 +0000 (09:28 -0700)] 
Merge pull request #1024 from phcerdan/fix_strncpy_warning

Fix gcc 8 warning about strncpy

7 years agoFix gcc 8 warning about strncpy 1024/head
Pablo Hernandez-Cerdan [Sun, 3 Jun 2018 15:01:59 +0000 (11:01 -0400)] 
Fix gcc 8 warning about strncpy

Use memcpy instead.

Fix #1020

7 years agoAdd some gzip header tests including RFC 1952 compression level flag
Martin Matuska [Mon, 21 May 2018 21:42:14 +0000 (23:42 +0200)] 
Add some gzip header tests including RFC 1952 compression level flag

7 years agoMerge pull request #973 from o3dwade:master
Martin Matuska [Mon, 21 May 2018 20:32:29 +0000 (22:32 +0200)] 
Merge pull request #973 from o3dwade:master

Record informational compression level in gzip header

7 years agoAdd allocation check for the zip_entry struct. 1019/head
Don Meyer [Tue, 15 May 2018 22:05:11 +0000 (15:05 -0700)] 
Add allocation check for the zip_entry struct.

7 years agoUnbreak write test for libzstd 1.3.4
Martin Matuska [Fri, 13 Apr 2018 10:21:10 +0000 (12:21 +0200)] 
Unbreak write test for libzstd 1.3.4

Fixes #1006

7 years agoRemove lzop package from Darwin testing
Martin Matuska [Fri, 13 Apr 2018 09:15:07 +0000 (11:15 +0200)] 
Remove lzop package from Darwin testing

7 years agoMerge pull request #1005 from Sp1l/master
Tim Kientzle [Sat, 7 Apr 2018 19:11:08 +0000 (12:11 -0700)] 
Merge pull request #1005 from Sp1l/master

fix build with LibreSSL 2.7

7 years agofix build with LibreSSL 2.7 1005/head
Bernard Spil [Sun, 1 Apr 2018 21:01:44 +0000 (23:01 +0200)] 
fix build with LibreSSL 2.7

LibreSSL 2.7 adds OpenSSL 1.1 API leading to conflicts on method names

See also: https://bugs.freebsd.org/226853
Signed-off-by: Bernard Spil <brnrd@FreeBSD.org>
7 years agoCheck size of the extended time field in zip archives
Joerg Sonnenberger [Sat, 31 Mar 2018 20:48:25 +0000 (22:48 +0200)] 
Check size of the extended time field in zip archives

Reported-By: OSS-Fuzz issue 4969
7 years agoMerge pull request #993 from ArshanKhanifar/issue-991
Tim Kientzle [Sun, 25 Feb 2018 19:55:52 +0000 (11:55 -0800)] 
Merge pull request #993 from ArshanKhanifar/issue-991

flush pending chdirs prior to processing mtree files

7 years agoput the absolute path in quotes in case user's directory has spaces in it 993/head
Arshan Khanifar [Mon, 12 Feb 2018 21:31:16 +0000 (16:31 -0500)] 
put the absolute path in quotes in case user's directory has spaces in it

7 years agoalphabetical order
Arshan Khanifar [Wed, 7 Feb 2018 20:36:39 +0000 (15:36 -0500)] 
alphabetical order

7 years agoabsolute path fix
Arshan Khanifar [Wed, 7 Feb 2018 17:59:57 +0000 (12:59 -0500)] 
absolute path fix

7 years agobuild fail fix, simplified logic
Arshan Khanifar [Tue, 6 Feb 2018 22:00:51 +0000 (17:00 -0500)] 
build fail fix, simplified logic

7 years agocorrected licensing, removed unnecessary variables
Arshan Khanifar [Tue, 6 Feb 2018 19:02:35 +0000 (14:02 -0500)] 
corrected licensing, removed unnecessary variables

7 years agoTest case for using -C in conjunction with an @mtree format file
Arshan Khanifar [Tue, 6 Feb 2018 18:40:13 +0000 (13:40 -0500)] 
Test case for using -C in conjunction with an @mtree format file

7 years agoflush pending chdirs prior to processing mtree files
Arshan Khanifar [Tue, 6 Feb 2018 15:05:36 +0000 (10:05 -0500)] 
flush pending chdirs prior to processing mtree files

7 years agoMerge pull request #989 from trollixx/cmake-fix-lzo2
Tim Kientzle [Mon, 29 Jan 2018 03:24:48 +0000 (19:24 -0800)] 
Merge pull request #989 from trollixx/cmake-fix-lzo2

cmake: Fix missing override for LZO2_FOUND

7 years agoMerge pull request #986 from BenjaminTrapani/windows-fixes
Tim Kientzle [Sat, 27 Jan 2018 19:32:30 +0000 (11:32 -0800)] 
Merge pull request #986 from BenjaminTrapani/windows-fixes

Unit test fixes for windows

7 years agocmake: Fix missing override for LZO2_FOUND 989/head
Oleg Shparber [Fri, 26 Jan 2018 10:20:50 +0000 (12:20 +0200)] 
cmake: Fix missing override for LZO2_FOUND

7 years agoFix warnings treated as errors during x64 build 986/head
BenjaminTrapani [Thu, 25 Jan 2018 21:26:35 +0000 (16:26 -0500)] 
Fix warnings treated as errors during x64 build

7 years agoFix build on FreeBSD with NFS4 ACLs without ACL_ENTRY_INHERITED
Martin Matuska [Wed, 24 Jan 2018 10:21:15 +0000 (11:21 +0100)] 
Fix build on FreeBSD with NFS4 ACLs without ACL_ENTRY_INHERITED

Fixes #952

7 years agoMerge pull request #968 from trollixx/cmake-lz4-option
Martin Matuška [Wed, 24 Jan 2018 09:50:50 +0000 (10:50 +0100)] 
Merge pull request #968 from trollixx/cmake-lz4-option

cmake: Add ENABLE_LZ4 option

7 years agoFix indentation to match rest of file
BenjaminTrapani [Sat, 20 Jan 2018 21:31:26 +0000 (16:31 -0500)] 
Fix indentation to match rest of file

7 years agoRevert "Copy reference resource to binary directory to make it possible to debug"
BenjaminTrapani [Sat, 20 Jan 2018 14:53:19 +0000 (09:53 -0500)] 
Revert "Copy reference resource to binary directory to make it possible to debug"

This reverts commit 54c81dea8b52a4a863b80fc74326608614008665.

7 years agoFix sparse tests windows
BenjaminTrapani [Sat, 20 Jan 2018 14:50:31 +0000 (09:50 -0500)] 
Fix sparse tests windows

7 years agoAdd space after version to fix all unit tests besides sparse tests
BenjaminTrapani [Thu, 18 Jan 2018 14:57:02 +0000 (09:57 -0500)] 
Add space after version to fix all unit tests besides sparse tests

7 years agoCopy reference resource to binary directory to make it possible to debug
BenjaminTrapani [Thu, 18 Jan 2018 14:03:43 +0000 (09:03 -0500)] 
Copy reference resource to binary directory to make it possible to debug
tests via visual studio cmake

7 years agoFix version format to match unit test
BenjaminTrapani [Wed, 17 Jan 2018 20:02:33 +0000 (15:02 -0500)] 
Fix version format to match unit test

7 years agoFix missing hardlink source test windows
BenjaminTrapani [Wed, 17 Jan 2018 19:46:27 +0000 (14:46 -0500)] 
Fix missing hardlink source test windows

7 years agoFix bsdtar test compilation on windows with platform toolset 141
BenjaminTrapani [Wed, 17 Jan 2018 19:08:31 +0000 (14:08 -0500)] 
Fix bsdtar test compilation on windows with platform toolset 141

7 years agoMerge pull request #962 from spanglerco/existing-dir-owner
Tim Kientzle [Sun, 7 Jan 2018 17:21:58 +0000 (09:21 -0800)] 
Merge pull request #962 from spanglerco/existing-dir-owner

archive_write_disk_{posix,windows}.c: Don't modify attributes for…

7 years agocmake: Add ENABLE_LZ4 option 968/head
Oleg Shparber [Sun, 12 Nov 2017 23:56:34 +0000 (01:56 +0200)] 
cmake: Add ENABLE_LZ4 option

7 years agoAdding compression level support for gzip 973/head
Omar Farooq [Mon, 4 Dec 2017 15:09:13 +0000 (10:09 -0500)] 
Adding compression level support for gzip

7 years agoMerge pull request #966 from jstarks/windows_disk_read_error
Tim Kientzle [Wed, 22 Nov 2017 06:20:54 +0000 (22:20 -0800)] 
Merge pull request #966 from jstarks/windows_disk_read_error

Windows: set errno on CreateFileW failure

7 years agoMerge pull request #970 from jstarks/zip_path_separator
Tim Kientzle [Wed, 22 Nov 2017 05:50:00 +0000 (21:50 -0800)] 
Merge pull request #970 from jstarks/zip_path_separator

zip: Allow backslash as path separator

7 years agozip: Allow backslash as path separator 970/head
John Starks [Thu, 16 Nov 2017 00:10:49 +0000 (16:10 -0800)] 
zip: Allow backslash as path separator

Some Windows zip archivers, such as PowerShell's Compress-Archive, use
backslash as the path separator in violation of the zip specification.
Info-Zip works around this by supporting this for archives that report
"version made by" of 0 (MS-DOS).

This change adds the same workaround to libarchive and adds a test of
this case using a zip file created with PowerShell.

7 years agoWindows: set errno on CreateFileW failure 966/head
John Starks [Thu, 2 Nov 2017 17:03:28 +0000 (10:03 -0700)] 
Windows: set errno on CreateFileW failure

When CreateFileW fails in next_entry(), it reads from errno to set the
archive error, but errno is not set by CreateFileW. Add a call to
la_dosmaperr to set errno properly first.

7 years agoMerge pull request #964 from legnaleurc/fix_fallthrough
Tim Kientzle [Thu, 2 Nov 2017 15:46:45 +0000 (08:46 -0700)] 
Merge pull request #964 from legnaleurc/fix_fallthrough

Fix -Werror=implicit-fallthrough= for GCC 7.

7 years agoFix -Werror=implicit-fallthrough= for GCC 7. 964/head
Wei-Cheng Pan [Mon, 30 Oct 2017 04:13:00 +0000 (12:13 +0800)] 
Fix -Werror=implicit-fallthrough= for GCC 7.

7 years agoSimplify test case per PR comments 962/head
Paul Spangler [Mon, 23 Oct 2017 14:07:26 +0000 (09:07 -0500)] 
Simplify test case per PR comments

Signed-off-by: Paul Spangler <paul.spangler@ni.com>
7 years agoMerge pull request #961 from zweger/master
Tim Kientzle [Sun, 22 Oct 2017 17:40:37 +0000 (10:40 -0700)] 
Merge pull request #961 from zweger/master

Fix ZIP format names

7 years agoClear the ZIP format name before constructing a new one, so it isn't appended to... 961/head
Zack Weger [Fri, 20 Oct 2017 18:09:23 +0000 (14:09 -0400)] 
Clear the ZIP format name before constructing a new one, so it isn't appended to the format name of the previous entry

7 years agoarchive_write_disk_{posix,windows}.c: Don't modify attributes for existing directorie...
Paul Spangler [Thu, 19 Oct 2017 19:33:12 +0000 (14:33 -0500)] 
archive_write_disk_{posix,windows}.c: Don't modify attributes for existing directories when ARCHIVE_EXTRACT_NO_OVERWRITE is set

Enables unpacking multiple archives into a single directory whose permissions,
owner, and other attributes are pre-configured or otherwise determined ahead
of time by a single archive without the need to repeat the same attributes in
every archive, such as in package installation scenarios.

Signed-off-by: Paul Spangler <paul.spangler@ni.com>
7 years agoFix a potential NULL pointer dereference of `tar` in archive_read_support_format_tar...
ngie [Sun, 15 Oct 2017 17:59:07 +0000 (10:59 -0700)] 
Fix a potential NULL pointer dereference of `tar` in archive_read_support_format_tar when HAVE_COPYFILE_H is defined (#959)

If HAVE_COPYFILE_H is defined and allocating tar via calloc fails, tar
would be dereferenced before the tar == NULL check is done, causing a
NULL pointer dereference. Move the HAVE_COPYFILE_H block after the NULL
dereference check.

7 years agodelete dead ppmd7 alloc callbacks (#893)
Mike Frysinger [Sat, 7 Oct 2017 09:05:24 +0000 (05:05 -0400)] 
delete dead ppmd7 alloc callbacks (#893)

These callbacks are just indirections over the standard free & malloc
functions.  Delete them and just call free & malloc directly.

This saves 672 .text bytes and 52 .data bytes on x86_64/Linux.  Also
avoids needing writable data in the first place.

7 years agoFix archive freeing bug in bsdcat.
Joerg Sonnenberger [Sat, 7 Oct 2017 00:33:16 +0000 (02:33 +0200)] 
Fix archive freeing bug in bsdcat.

(1) Do not double free a for the stdin case. Reported by Sean Purcell in
    PR #904.
(2) Do not query errors after archive_read_free either, the memory is
    gone. Split operation into close and read, reporting errors from the
    former.

7 years agoMatch archive.h for la_int64_t vs int64_t
Joerg Sonnenberger [Fri, 6 Oct 2017 23:52:52 +0000 (01:52 +0200)] 
Match archive.h for la_int64_t vs int64_t

7 years agobsdtar manpage: unify descriptions of compression options
Martin Matuska [Sun, 1 Oct 2017 00:17:22 +0000 (02:17 +0200)] 
bsdtar manpage: unify descriptions of compression options

7 years agoMerge pull request #912 from korli/libnetwork
Tim Kientzle [Sat, 30 Sep 2017 17:34:48 +0000 (10:34 -0700)] 
Merge pull request #912 from korli/libnetwork

Check libgnu for xattr functions on Haiku

7 years agoDo not use nanosecond file time APIs on macOS < 10.13 953/head
Brad King [Wed, 20 Sep 2017 14:19:38 +0000 (10:19 -0400)] 
Do not use nanosecond file time APIs on macOS < 10.13

The SDK for macOS 10.13 adds `futimens` and `utimensat` so our checks
for these symbols may pass.  However, the symbols are not available at
runtime on older macOS versions.  Instead on macOS we can check for
availability based on the deployment target version.

7 years agoFix case in comment.
Joerg Sonnenberger [Mon, 18 Sep 2017 01:14:37 +0000 (03:14 +0200)] 
Fix case in comment.

7 years agoAvoid a read off-by-one error for UTF16 names in RAR archives.
Joerg Sonnenberger [Sat, 9 Sep 2017 15:47:32 +0000 (17:47 +0200)] 
Avoid a read off-by-one error for UTF16 names in RAR archives.

Reported-By: OSS-Fuzz issue 573
7 years agoEnsure that the AES extension header is large enough.
Joerg Sonnenberger [Wed, 6 Sep 2017 21:03:00 +0000 (23:03 +0200)] 
Ensure that the AES extension header is large enough.

Reported-By: OSS-Fuzz issue 2394
7 years agoPlace a limit on the mtree line length to make fuzzers happy.
Joerg Sonnenberger [Wed, 6 Sep 2017 20:48:44 +0000 (22:48 +0200)] 
Place a limit on the mtree line length to make fuzzers happy.

Reported-By: OSS-Fuzz issue 2936
7 years agoDon't allow sparse mapping entry to pass beyond 63bit.
Joerg Sonnenberger [Tue, 5 Sep 2017 18:14:09 +0000 (20:14 +0200)] 
Don't allow sparse mapping entry to pass beyond 63bit.

Reported-By: OSS-Fuzz issue 1627
7 years agoMatch full strings, not just prefixes.
Joerg Sonnenberger [Tue, 5 Sep 2017 16:15:45 +0000 (18:15 +0200)] 
Match full strings, not just prefixes.

7 years agoDo something sensible for empty strings to make fuzzers happy.
Joerg Sonnenberger [Tue, 5 Sep 2017 16:12:19 +0000 (18:12 +0200)] 
Do something sensible for empty strings to make fuzzers happy.

7 years agoIssue #947: Reference archive_write_set_options in archive_write.3
Tim Kientzle [Mon, 4 Sep 2017 00:27:30 +0000 (17:27 -0700)] 
Issue #947: Reference archive_write_set_options in archive_write.3

7 years agoMerge pull request #943 from jrmarino/master
Tim Kientzle [Thu, 31 Aug 2017 01:34:50 +0000 (18:34 -0700)] 
Merge pull request #943 from jrmarino/master

Recognize ".tzst" extension as ".tar.zst" (re: issue# 941)

7 years agoRecognize ".tzst" extension as ".tar.zst" 943/head
jrmarino [Tue, 22 Aug 2017 13:46:29 +0000 (08:46 -0500)] 
Recognize ".tzst" extension as ".tar.zst"

This follows convention establish by ".tgz", ".txz", etc.
The alias array was not sorted alphabetically (the only order seems to be grouping by decomposed extension), so the new element was just added to the end.

7 years agoMerge pull request #905 from iburinoc/zstd
Tim Kientzle [Sun, 13 Aug 2017 06:05:31 +0000 (23:05 -0700)] 
Merge pull request #905 from iburinoc/zstd

Add support for Zstandard read and write filters

7 years agoMerge pull request #934 from tonytheodore/cflags-private
Tim Kientzle [Sun, 13 Aug 2017 05:39:17 +0000 (22:39 -0700)] 
Merge pull request #934 from tonytheodore/cflags-private

libarchive.pc.in: add Cflags.private for static linking

7 years agolibarchive.pc.in: add Cflags.private for static linking 934/head
Tony Theodore [Sun, 13 Aug 2017 04:27:12 +0000 (14:27 +1000)] 
libarchive.pc.in: add Cflags.private for static linking

`pkgconf` supports a `Cflags.private` that simplifies static linking
for windows (mingw cross) builds. Users of `pkg-config` will be
unaffected by this as existing build scripts will already set the
`-DLIBARCHIVE_STATIC` as required.

7 years agoMerge pull request #930 from Tarsnap/spelling-upload
Tim Kientzle [Sat, 5 Aug 2017 17:38:57 +0000 (10:38 -0700)] 
Merge pull request #930 from Tarsnap/spelling-upload

Spelling fixes