]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
6 years agoLibarchive 3.3.2 v3.3.2
Tim Kientzle [Mon, 10 Jul 2017 02:38:04 +0000 (19:38 -0700)] 
Libarchive 3.3.2

6 years agoAdd a missing test file
Tim Kientzle [Sun, 9 Jul 2017 22:57:01 +0000 (15:57 -0700)] 
Add a missing test file

6 years agoIssue #910: Don't use stdin as a source of test data
Tim Kientzle [Sun, 21 May 2017 19:36:34 +0000 (12:36 -0700)] 
Issue #910:  Don't use stdin as a source of test data

7 years agoFix use-after-free in error branch. From Ngie Cooper.
Joerg Sonnenberger [Thu, 11 May 2017 10:29:41 +0000 (12:29 +0200)] 
Fix use-after-free in error branch. From Ngie Cooper.

7 years agoRemove fallback tree in LZX decoder.
Joerg Sonnenberger [Mon, 1 May 2017 15:33:15 +0000 (17:33 +0200)] 
Remove fallback tree in LZX decoder.

The LZX decoder flattens the Huffman tree into a table, but wanted to
limit it to 1k elements to reduce L1 pressure. Since the logic for
filling was flawed and performance argument points more to a bad index
logic, remove the tree logic.

Reported-By: OSS-Fuzz issue 497

7 years agoFix build on ancient systems without int64_t definition.
Joerg Sonnenberger [Sun, 30 Apr 2017 13:12:59 +0000 (15:12 +0200)] 
Fix build on ancient systems without int64_t definition.

7 years agoRefactor numeric parsing routines into a single version without UB.
Joerg Sonnenberger [Sat, 29 Apr 2017 21:09:42 +0000 (23:09 +0200)] 
Refactor numeric parsing routines into a single version without UB.

Reported-By: OSS-Fuzz issue 862

7 years agoTighten mode check: '8' and '9' don't make good octal digits.
Joerg Sonnenberger [Sat, 29 Apr 2017 20:15:52 +0000 (22:15 +0200)] 
Tighten mode check: '8' and '9' don't make good octal digits.

7 years agoBe consistent about the types of internal and external link counts.
Joerg Sonnenberger [Sat, 29 Apr 2017 19:39:57 +0000 (21:39 +0200)] 
Be consistent about the types of internal and external link counts.

Reported-By: OSS-Fuzz issue 577

7 years agoDon't leak memory.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:57:33 +0000 (18:57 +0200)] 
Don't leak memory.

7 years agoChange little endian read routines to compute in unsigned math.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:56:16 +0000 (18:56 +0200)] 
Change little endian read routines to compute in unsigned math.

Shifting a negative value is UB in ISO C.

7 years agoAvoid signed overflow by computing in uintmax_t and casting the result.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:55:28 +0000 (18:55 +0200)] 
Avoid signed overflow by computing in uintmax_t and casting the result.

7 years agoAvoid memcpy of zero length, the source can be NULL.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:55:05 +0000 (18:55 +0200)] 
Avoid memcpy of zero length, the source can be NULL.

7 years agoDon't check unaligned access in ubsan for GCC.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:54:29 +0000 (18:54 +0200)] 
Don't check unaligned access in ubsan for GCC.

7 years agoAvoid shifting negative numbers by doing endian manipulation unsignedly.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:53:56 +0000 (18:53 +0200)] 
Avoid shifting negative numbers by doing endian manipulation unsignedly.

7 years agoAvoid memcpy if length is zero, the source can be NULL in this case.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:53:17 +0000 (18:53 +0200)] 
Avoid memcpy if length is zero, the source can be NULL in this case.

7 years agoOptimize string processing.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:52:21 +0000 (18:52 +0200)] 
Optimize string processing.

7 years agoExplicitly free pass_destpath after processing.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:51:04 +0000 (18:51 +0200)] 
Explicitly free pass_destpath after processing.

7 years agoFree linkresolver after processing.
Joerg Sonnenberger [Sat, 29 Apr 2017 16:50:17 +0000 (18:50 +0200)] 
Free linkresolver after processing.

7 years agoRedo 1e660621b4b00eaf4ef7a508aedf52c5a421bd2e, only skip the memmove.
Joerg Sonnenberger [Sat, 29 Apr 2017 13:50:24 +0000 (15:50 +0200)] 
Redo 1e660621b4b00eaf4ef7a508aedf52c5a421bd2e, only skip the memmove.

7 years agoReshuffle conditions to ensure path is initialised and NULL handled.
Joerg Sonnenberger [Sat, 29 Apr 2017 13:39:37 +0000 (15:39 +0200)] 
Reshuffle conditions to ensure path is initialised and NULL handled.

7 years agoShort cut zero size to avoid notnull attribute for mmemove in glibc.
Joerg Sonnenberger [Fri, 28 Apr 2017 21:32:32 +0000 (23:32 +0200)] 
Short cut zero size to avoid notnull attribute for mmemove in glibc.

Reported-By: OSS-Fuzz issue 497

7 years agoRewrite expressions to avoid undefined behavior.
Joerg Sonnenberger [Fri, 28 Apr 2017 21:05:43 +0000 (23:05 +0200)] 
Rewrite expressions to avoid undefined behavior.

Reported-By: OSS-Fuzz issue 527

7 years agoAdd missing .Nm to the NAME section. (#906)
Abhinav Upadhyay [Sun, 23 Apr 2017 12:05:14 +0000 (17:35 +0530)] 
Add missing .Nm to the NAME section. (#906)

7 years agoIssue #901: Sparse files with long name get renamed.
Joerg Sonnenberger [Fri, 21 Apr 2017 00:22:55 +0000 (02:22 +0200)] 
Issue #901: Sparse files with long name get renamed.

The original ustar header has a 100 character limit for the file name.
With the POSIX interchange format, an additional header attribute
contains the full path and libarchive tries to cut it to something
sensible. The GNU sparse file extension on the other hand also likes to
mangle the ustar header field to include a marker and contains yet
another attribute for the original path. If the name was truncated
earlier, this attribute would get the incorrect truncated name.

7 years agoComplay with the spirit, if not the letter of the GNU sparse file rule.
Joerg Sonnenberger [Fri, 21 Apr 2017 00:11:43 +0000 (02:11 +0200)] 
Complay with the spirit, if not the letter of the GNU sparse file rule.

7 years agoMerge pull request #902 from mingzym/libressl
Tim Kientzle [Sun, 9 Apr 2017 06:05:58 +0000 (23:05 -0700)] 
Merge pull request #902 from mingzym/libressl

fix building with libressl

7 years agofix building with libressl 902/head
Zhao Yongming [Sun, 9 Apr 2017 05:09:13 +0000 (13:09 +0800)] 
fix building with libressl

patch from Gentoo Bug 614460, credit to hexumg@gmail.com.

7 years agoMerge pull request #897 from phillipberndt/master
Tim Kientzle [Sat, 8 Apr 2017 19:02:12 +0000 (12:02 -0700)] 
Merge pull request #897 from phillipberndt/master

Add test for #870 / #869

7 years agodirfd can be implemented as macro, so use a better test case.
Joerg Sonnenberger [Fri, 7 Apr 2017 12:37:12 +0000 (14:37 +0200)] 
dirfd can be implemented as macro, so use a better test case.

7 years agoShrink array for days per month. Saves 31 Bytes on AMD64.
Joerg Sonnenberger [Fri, 7 Apr 2017 12:10:52 +0000 (14:10 +0200)] 
Shrink array for days per month. Saves 31 Bytes on AMD64.

7 years agoPlug memory leaks in xattr and acl tests.
Martin Matuska [Mon, 3 Apr 2017 12:09:53 +0000 (14:09 +0200)] 
Plug memory leaks in xattr and acl tests.
Detected with libasan on Linux.

7 years agoUpdate date in archive_read_disk.3 and archive_write_disk.3
Martin Matuska [Mon, 3 Apr 2017 11:42:30 +0000 (13:42 +0200)] 
Update date in archive_read_disk.3 and archive_write_disk.3

7 years agoAdd manpage entry for archive_read_disk_set_behavior().
Martin Matuska [Mon, 3 Apr 2017 11:37:24 +0000 (13:37 +0200)] 
Add manpage entry for archive_read_disk_set_behavior().
Update and alphabetically sort options in archive_write_disk_set_options().

7 years agoAdd test for #870 897/head
Phillip Berndt [Sun, 2 Apr 2017 14:43:23 +0000 (16:43 +0200)] 
Add test for #870

7 years agoReport names of extended attributes that could not be restored
Martin Matuska [Wed, 29 Mar 2017 21:16:02 +0000 (23:16 +0200)] 
Report names of extended attributes that could not be restored
Remove xattr namespace limitations for AIX and Darwin
On Linux, skip all known ACL extended attributes and obsolete xfsroot

7 years agoEncapsulate archive_disk_acl.* in an ARCHIVE_ACL_* ifdef
Martin Matuska [Tue, 28 Mar 2017 10:19:13 +0000 (12:19 +0200)] 
Encapsulate archive_disk_acl.* in an ARCHIVE_ACL_* ifdef
This allows debugging and compilation with defines outside of configure.

7 years agoFix copyright in archive_disk_acl_linux.c
Martin Matuska [Tue, 28 Mar 2017 09:44:27 +0000 (11:44 +0200)] 
Fix copyright in archive_disk_acl_linux.c

7 years agoFix compilation on FreeBSD without NFSv4 ACL support
Martin Matuska [Tue, 28 Mar 2017 09:40:25 +0000 (11:40 +0200)] 
Fix compilation on FreeBSD without NFSv4 ACL support

7 years agoUnify platform ACL code in single files.
Martin Matuska [Tue, 28 Mar 2017 00:52:21 +0000 (02:52 +0200)] 
Unify platform ACL code in single files.
Declare map constants static for better optimization.

7 years agoMerge pull request #892 from vapier/master
Tim Kientzle [Mon, 27 Mar 2017 00:52:01 +0000 (17:52 -0700)] 
Merge pull request #892 from vapier/master

do not make DaysInMonth static

7 years agodo not make DaysInMonth static 892/head
Mike Frysinger [Thu, 23 Mar 2017 06:31:54 +0000 (02:31 -0400)] 
do not make DaysInMonth static

Since the Feb month is written to based on arguments to this function,
it makes it not safe to use simultaneously.  Drop the static markings.

7 years agoMerge pull request #891 from vapier/master
Tim Kientzle [Sun, 26 Mar 2017 23:03:48 +0000 (16:03 -0700)] 
Merge pull request #891 from vapier/master

constify variables more

7 years agoconstify variables more 891/head
Mike Frysinger [Thu, 23 Mar 2017 06:26:52 +0000 (02:26 -0400)] 
constify variables more

A bunch of constant variables/tables are missing const markings.
Adding them allows moving more data to the read only sections, and
ends up shrinking writable data a bit by 1k on x86_64/Linux.  Not
much, but still nice.

7 years agoSupport UF_HIDDEN file flag (FreeBSD and Darwin)
Martin Matuska [Thu, 23 Mar 2017 16:30:45 +0000 (17:30 +0100)] 
Support UF_HIDDEN file flag (FreeBSD and Darwin)

7 years agoImprove extended attribute support
Martin Matuska [Thu, 23 Mar 2017 14:27:59 +0000 (15:27 +0100)] 
Improve extended attribute support

Mac OS X changes:
  - add support for extended file attributes via sys/xattr.h
  - when extracting an archive entry that has mac_metadata and
    mac_metadata is requested to be extracted, extended attributes
    are restored only from mac_metadata.
  - by default, extended attributes are stored both in mac_metadata and
    SCHILY.xattr/LIBARCHIVE.xattr. This is subject to review and change.

To match behavior on other platforms, store extended attributes on
FreeBSD with extattr_set_link() if no fd is provided.

Detection of extended attributes support in configure stage has been
rewritten.

Added xattr platform test to libarchive and xattrs option test to bsdtar.

7 years agotar: fix conditionals and add richacl support to test_option_acls
Martin Matuska [Thu, 23 Mar 2017 10:54:44 +0000 (11:54 +0100)] 
tar: fix conditionals and add richacl support to test_option_acls

7 years agoUpdate config_freebsd.h to match FreeBSD version
Martin Matuska [Tue, 21 Mar 2017 10:45:10 +0000 (11:45 +0100)] 
Update config_freebsd.h to match FreeBSD version

7 years agoAlways include extern keyword for ACL map constants
Martin Matuska [Mon, 20 Mar 2017 11:30:24 +0000 (12:30 +0100)] 
Always include extern keyword for ACL map constants

7 years agoSync documentation of archive_read_open_memory with reality.
Joerg Sonnenberger [Mon, 20 Mar 2017 11:11:00 +0000 (12:11 +0100)] 
Sync documentation of archive_read_open_memory with reality.

7 years agoMerge pull request #887 from codarrenvelvindron/master
Tim Kientzle [Sun, 19 Mar 2017 06:55:47 +0000 (23:55 -0700)] 
Merge pull request #887 from codarrenvelvindron/master

Discard 3072 bytes instead of 1024 bytes [Operation C.R]

7 years agoAs per Cryptographic Requirements published on Wikileaks on March 2017. 887/head
codarrenvelvindron [Sun, 19 Mar 2017 05:25:35 +0000 (09:25 +0400)] 
As per Cryptographic Requirements published on Wikileaks on March 2017.

We discard more bytes of the first keystream
to reduce the possibility of non-random bytes.

Similar to:
freebsd/freebsd@9395fdf

7 years agoDeduplicate working path code in archive_read_disk_entry_from_file
Martin Matuska [Thu, 16 Mar 2017 12:39:35 +0000 (13:39 +0100)] 
Deduplicate working path code in archive_read_disk_entry_from_file

7 years agoDo not treat archive_read_disk_entry_setup_acls() as static
Martin Matuska [Thu, 16 Mar 2017 11:25:53 +0000 (12:25 +0100)] 
Do not treat archive_read_disk_entry_setup_acls() as static

7 years agoAdd NFSv4 ACL support for Linux via librichacl
Martin Matuska [Wed, 15 Mar 2017 22:27:48 +0000 (23:27 +0100)] 
Add NFSv4 ACL support for Linux via librichacl

Richacls are interpreted as NFSv4 ACLs and stored in archive_acl (Richacl
flags and masks are not stored). Analog to mac_metadata, NFSv4 ACLs do not
get extracted when the extraction of extended attributes is enabled and the
"trusted.richacl" extended attribute is present.

RichACL masks and are calculated from file mode on extraction.

mac_metadata acl check has been moved in the code to be together with the
richacl check.

7 years agoMove platform-specific ACL code to individual source files.
Martin Matuska [Mon, 13 Mar 2017 14:49:38 +0000 (15:49 +0100)] 
Move platform-specific ACL code to individual source files.

This makes the code much more readable and eases the addition of new
ACL implementatons in the future.

Additional changes:
- most of ACL detection is now done at configure stage
- configuration now reports what ACL was detected
- NFSv4 ACL tests now test INHERIT_ONLY and NO_PROPAGATE_INHERIT

7 years agoMerge pull request #870 from phillipberndt/master
Tim Kientzle [Sun, 12 Mar 2017 01:57:04 +0000 (17:57 -0800)] 
Merge pull request #870 from phillipberndt/master

Seekable zip backend: Accept files with valid ZIP64 EOCD headers

7 years agoMerge pull request #841 from JPeterMugaas/cng_enable
Tim Kientzle [Sun, 12 Mar 2017 01:51:38 +0000 (17:51 -0800)] 
Merge pull request #841 from JPeterMugaas/cng_enable

Changes to configure.ac from MSYS2 Pacman project for mingw-w64.  Thi…

7 years agoMerge pull request #867 from praiskup/cpio-getgrgid
Tim Kientzle [Sun, 12 Mar 2017 01:48:51 +0000 (17:48 -0800)] 
Merge pull request #867 from praiskup/cpio-getgrgid

bsdcpio: show numeric uid/gid when names are not found

7 years agoBreak out the library version functions into a separate source file.
Tim Kientzle [Sat, 11 Mar 2017 23:30:38 +0000 (15:30 -0800)] 
Break out the library version functions into a separate source file.

This breaks a static dependency on libbz2.  Before this,
any use of libarchive that ended up linking archive_util.c would
require libbz2.  (And since archive_util.c contains a bunch of
very core functions, this is pretty much everybody.)
Now you only require libbz2 if you request library version information
or actually use some other feature that involves bzip2 support.

Note that most of the libraries provide version information via
compile-time macros -- libbz2 only provides such information via
a function call, which is why this issue only arises with libbz2.
In particular, the libbz2 version reports the version that we
are currently linked against; the other library versions report
the version we were compiled with (which may not be the same as
what we are currently using).

7 years agoOSS-Fuzz Issue 806: integer overflow in mtree_atol10
Tim Kientzle [Sat, 11 Mar 2017 23:13:23 +0000 (15:13 -0800)] 
OSS-Fuzz Issue 806: integer overflow in mtree_atol10

Rework the mtree_atol10 integer parser so it can parse
INT64_MIN without overflowing the intermediate value.

While here, make this function behave a little more predictably for
too-large input: It now always advances the pointer to the first
non-digit character.

7 years agoDarwin ACL: fix legacy support in tar/test_option_acls.c
Martin Matuska [Wed, 8 Mar 2017 20:46:27 +0000 (21:46 +0100)] 
Darwin ACL: fix legacy support in tar/test_option_acls.c
Remove ACL_FLAG_DEFER_INHERIT and ACL_FLAG_NO_INHERIT

7 years agoDarwin ACL: avoid unnecessary use of getpwuuid() and getgruuid()
Martin Matuska [Wed, 8 Mar 2017 00:02:20 +0000 (01:02 +0100)] 
Darwin ACL: avoid unnecessary use of getpwuuid() and getgruuid()

7 years agoDarwin ACL: avoid using mbr_identifier_to_uuid()
Martin Matuska [Mon, 6 Mar 2017 23:50:12 +0000 (00:50 +0100)] 
Darwin ACL: avoid using mbr_identifier_to_uuid()
Use mbr_uid_to_uuid() and mbr_gid_to_uuid() for backwards compatibility
instead. These functions have been introduced together with membership.h.

Fixes #882

7 years agoThe "size" pax header keyword overrides tar header's size field.
Martin Matuska [Sun, 5 Mar 2017 22:46:37 +0000 (23:46 +0100)] 
The "size" pax header keyword overrides tar header's size field.

Fixes #880

7 years agoMerge branch 'master' of https://github.com/libarchive/libarchive into cng_enable 841/head
J. Peter Mugaas [Sun, 5 Mar 2017 14:59:25 +0000 (09:59 -0500)] 
Merge branch 'master' of https://github.com/libarchive/libarchive into cng_enable

7 years agoMerge pull request #879 from jwilk/spelling
Martin Matuška [Fri, 3 Mar 2017 00:40:06 +0000 (01:40 +0100)] 
Merge pull request #879 from jwilk/spelling

Fix typos

7 years agotar: test_option_fflags adjustments
Martin Matuska [Thu, 2 Mar 2017 22:28:40 +0000 (23:28 +0100)] 
tar: test_option_fflags adjustments
  - Clear fflags on created directories
  - FreeBSD ZFS workaround - ZFS sets uarch on all touched files

7 years agoSolaris: use aclp instead of acl to not shadow global acl()
Martin Matuska [Thu, 2 Mar 2017 16:37:11 +0000 (17:37 +0100)] 
Solaris: use aclp instead of acl to not shadow global acl()

7 years agoNew tar test: test_option_acls
Martin Matuska [Thu, 2 Mar 2017 13:19:38 +0000 (14:19 +0100)] 
New tar test: test_option_acls
Add sunacl_get() and setTestAcl() to common test code
Test for membership.h on Mac OS X and make it a requirement for ACLs

7 years agoReorganize ACL defines and fix detection of ACL_SYNCHRONIZE on Mac OS
Martin Matuska [Thu, 2 Mar 2017 03:34:43 +0000 (04:34 +0100)] 
Reorganize ACL defines and fix detection of ACL_SYNCHRONIZE on Mac OS
Adjust MacOS part of test_acl_platform_nfs4

7 years agoChange Solaris ACL support to use acl() and facl()
Martin Matuska [Thu, 2 Mar 2017 03:27:39 +0000 (04:27 +0100)] 
Change Solaris ACL support to use acl() and facl()

This removes dependency on libsec and enables compilation on Solaris 10.

7 years agoFix typos 879/head
Jakub Wilk [Tue, 28 Feb 2017 17:24:54 +0000 (18:24 +0100)] 
Fix typos

7 years agoFix compilation on Mac OS X versions without ACL_SYNCHRONIZE
Martin Matuska [Tue, 28 Feb 2017 16:02:50 +0000 (17:02 +0100)] 
Fix compilation on Mac OS X versions without ACL_SYNCHRONIZE

7 years agoCompare full file flags in test_option_fflags
Martin Matuska [Tue, 28 Feb 2017 16:01:38 +0000 (17:01 +0100)] 
Compare full file flags in test_option_fflags

7 years agoMissing commas
Joerg Sonnenberger [Tue, 28 Feb 2017 10:38:46 +0000 (11:38 +0100)] 
Missing commas

7 years agoFix markup
Joerg Sonnenberger [Tue, 28 Feb 2017 10:37:43 +0000 (11:37 +0100)] 
Fix markup

7 years agoFix markup
Joerg Sonnenberger [Tue, 28 Feb 2017 10:36:36 +0000 (11:36 +0100)] 
Fix markup

7 years agoMove documentation from archive_write_disk(3) into individual man pages.
Joerg Sonnenberger [Tue, 28 Feb 2017 00:21:44 +0000 (01:21 +0100)] 
Move documentation from archive_write_disk(3) into individual man pages.

7 years agoDrop documentation for functions with their own man page.
Joerg Sonnenberger [Tue, 28 Feb 2017 00:14:45 +0000 (01:14 +0100)] 
Drop documentation for functions with their own man page.

7 years agoDrop trailing comma.
Joerg Sonnenberger [Tue, 28 Feb 2017 00:14:27 +0000 (01:14 +0100)] 
Drop trailing comma.

7 years agoFix typos.
Joerg Sonnenberger [Tue, 28 Feb 2017 00:08:06 +0000 (01:08 +0100)] 
Fix typos.

7 years agotest_main: compact canNodump() source code a bit
Martin Matuska [Sun, 26 Feb 2017 22:43:56 +0000 (23:43 +0100)] 
test_main: compact canNodump() source code a bit

7 years agomdoc should not contain empty lines.
Joerg Sonnenberger [Sun, 26 Feb 2017 17:36:03 +0000 (18:36 +0100)] 
mdoc should not contain empty lines.

7 years agoMark function that doesn't return as dead.
Joerg Sonnenberger [Sun, 26 Feb 2017 14:56:10 +0000 (15:56 +0100)] 
Mark function that doesn't return as dead.

7 years agoAdd format function annotation.
Joerg Sonnenberger [Sun, 26 Feb 2017 14:55:54 +0000 (15:55 +0100)] 
Add format function annotation.

7 years agoMark functions that don't return as dead.
Joerg Sonnenberger [Sun, 26 Feb 2017 14:55:19 +0000 (15:55 +0100)] 
Mark functions that don't return as dead.

7 years agoBe more friendly to format string checkers.
Joerg Sonnenberger [Sun, 26 Feb 2017 14:54:51 +0000 (15:54 +0100)] 
Be more friendly to format string checkers.

7 years agoUse ctype macros with unsigned char arguments.
Joerg Sonnenberger [Sun, 26 Feb 2017 14:54:24 +0000 (15:54 +0100)] 
Use ctype macros with unsigned char arguments.

7 years agoMark functions that don't return as dead.
Joerg Sonnenberger [Sun, 26 Feb 2017 14:54:06 +0000 (15:54 +0100)] 
Mark functions that don't return as dead.

7 years agobsdtar tests: add test_option_fflags
Martin Matuska [Sun, 26 Feb 2017 00:17:54 +0000 (01:17 +0100)] 
bsdtar tests: add test_option_fflags

7 years agobsdtar manpage: be more precise what -p and --no-same-permissions does
Martin Matuska [Sat, 25 Feb 2017 21:37:48 +0000 (22:37 +0100)] 
bsdtar manpage: be more precise what -p and --no-same-permissions does

7 years agoUse types consistent with the prototypes in the header.
Joerg Sonnenberger [Sat, 25 Feb 2017 20:01:56 +0000 (21:01 +0100)] 
Use types consistent with the prototypes in the header.

7 years agoAfter the 3.3.1 release, bump the version to 3.3.2dev and go back to debug building.
Tim Kientzle [Sat, 25 Feb 2017 19:39:55 +0000 (11:39 -0800)] 
After the 3.3.1 release, bump the version to 3.3.2dev and go back to debug building.

7 years agoLibarchive 3.3.1 v3.3.1
Tim Kientzle [Sat, 25 Feb 2017 19:31:44 +0000 (11:31 -0800)] 
Libarchive 3.3.1

7 years agoCMake builds now default to "Release" in releases
Tim Kientzle [Sat, 25 Feb 2017 19:18:26 +0000 (11:18 -0800)] 
CMake builds now default to "Release" in releases

7 years agoseekable zip backend: Accept files with valid ZIP64 EOCD headers 870/head
Phillip Berndt [Mon, 20 Feb 2017 16:45:56 +0000 (17:45 +0100)] 
seekable zip backend: Accept files with valid ZIP64 EOCD headers

Previously, a ZIP64 file needed to have a valid classic EOCD header.
This is not the case at least for archives generated by PHPZipStreamer.

This commit allows for a bit more than necessary: While PHPZipStreamer
sets the classic EOCD header to all -1's, the bidding function now
succeeds also if the EOCD header values have arbitrary values, as long
as the ZIP64 EOCD header seems plausible. This simplifies the logic and
should not do any harm in practice.

This fixes #869.

7 years agoFirst round of fixing autotools build on MSYS2-MINGW
Martin Matuska [Fri, 24 Feb 2017 14:47:19 +0000 (15:47 +0100)] 
First round of fixing autotools build on MSYS2-MINGW

7 years agoWARC reader: avoid use of isblank()
Martin Matuska [Fri, 24 Feb 2017 13:53:46 +0000 (14:53 +0100)] 
WARC reader: avoid use of isblank()

Fixes #874

7 years agoMerge pull request #875 from tpgxyz/master
Martin Matuska [Fri, 24 Feb 2017 14:22:02 +0000 (15:22 +0100)] 
Merge pull request #875 from tpgxyz/master

fix liblzma.h detect