Skip to content
Commits on Jun 28, 2016
  1. @kientzle

    Merge pull request #727 from jcfr/use-cmake-builtin-module-CheckStruc…

    …tHasMember
    
    Use CMake module "CheckStructHasMember" and remove custom "CheckStructMember"
    kientzle committed on GitHub Jun 27, 2016
Commits on Jun 24, 2016
  1. @kientzle

    FreeBSD bug 204157: If filesystem does not support birthtime, then ma…

    …ke all birthtime comparisons succeed.
    
    This is a bit of a hack:  We should also have tests that verify
    different birthtimes.  When/if that happens, we'll need to add
    a real system probe to determine whether birthtime is actually
    supported on this particular filesystem and skip tests accordingly.
    kientzle committed Jun 23, 2016
  2. @kientzle

    Issue 686: Keep retrying until buffer is big enough

    @duy-github pointed out that commit 9134c3a fixed
    one place where this mistake occurred, but left three
    other places.
    kientzle committed Jun 23, 2016
Commits on Jun 23, 2016
  1. @jsonn

    For getvfsbyname on DragonFly, struct vfsconf has to be used and not

    struct xvfsconf as on FreeBSD.
    jsonn committed Jun 23, 2016
Commits on Jun 22, 2016
  1. @jsonn
  2. @jsonn
  3. @jsonn
  4. @jcfr
Commits on Jun 21, 2016
  1. @jsonn
  2. @kientzle

    Merge pull request #726 from mmatuska/cpio_version

    Fix test for cpio version dash fix
    kientzle committed on GitHub Jun 21, 2016
  3. @jsonn

    SIGRTMAX doesn't exist on all systems, so compute the largest used

    signal number. Don't bother with dynamically allocating the array, just
    use a static array instead. Fix ctype use.
    jsonn committed Jun 21, 2016
  4. @jsonn

    In the past, OpenSSL was not needed by the main libarchive when the hash

    functions were provided by libc, e.g. on NetBSD. With the introduction
    of the de-/encryption support, this is no longer the case. As such,
    explicitly check for the necessary EVP routines as well to make sure
    that -lcrypto is added as necessary.
    jsonn committed Jun 21, 2016
  5. @jsonn
  6. @jsonn
  7. @jsonn
  8. @jsonn

    Support maintainer mode

    The time stamp checks for configure and Makefile.in are sometimes problematic, so allow disabling them.
    jsonn committed on GitHub Jun 21, 2016
  9. @mmatuska
  10. @kientzle

    Merge pull request #725 from mmatuska/cpio_version

    Report cpio version string with one dash only
    kientzle committed on GitHub Jun 20, 2016
Commits on Jun 20, 2016
  1. @mmatuska
  2. @kientzle

    Libarchive 3.2.1

    kientzle committed Jun 19, 2016
  3. @kientzle
Commits on Jun 19, 2016
  1. @kientzle
  2. @kientzle

    Fix filename spelling

    kientzle committed Jun 19, 2016
  3. @kientzle

    Issue 719: Refuse to allocate a too-small PPMD7 context

    Other parts of the PPMD7 code assume that the dictionary is
    at least UNIT_SIZE (12 bytes).  Enforce that assumption here
    to avoid potential buffer under- and over-runs.
    
    This was pointed out in a review of the original fix for Issue 719.
    kientzle committed Jun 19, 2016
  4. @kientzle

    Issue 521: Properly check reading from lzss decompression buffer

    Prior code could be tricked into trying to copy data
    from beyond the end of the internal decompression buffer.
    
    Thanks to Hanno Böck for his ongoing fuzz-testing work with libarchive.
    kientzle committed Jun 19, 2016
  5. @kientzle

    Issue 717: Fix integer overflow when computing location of volume des…

    …criptor
    
    The multiplication here defaulted to 'int' but calculations
    of file positions should always use int64_t.  A simple cast
    suffices to fix this since the base location is always 32 bits
    for ISO, so multiplying by the sector size will never overflow
    a 64-bit integer.
    kientzle committed Jun 19, 2016
  6. @kientzle

    Issue 719: Fix for TALOS-CAN-154

    A RAR file with an invalid zero dictionary size was not being
    rejected, leading to a zero-sized allocation for the dictionary
    storage which was then overwritten during the dictionary initialization.
    
    Thanks to the Open Source and Threat Intelligence project at Cisco for
    reporting this.
    kientzle committed Jun 19, 2016
  7. @kientzle

    Issue #718: Fix TALOS-CAN-152

    If a 7-Zip archive declares a rediculously large number of substreams,
    it can overflow an internal counter, leading a subsequent memory
    allocation to be too small for the substream data.
    
    Thanks to the Open Source and Threat Intelligence project at Cisco
    for reporting this issue.
    kientzle committed Jun 19, 2016
Commits on Jun 16, 2016
  1. @kientzle

    Issue 553: Fix broken decryption for ZIP files.

    Sometimes, decompressing was failing due to miscalculation of buffer
    offsets, and hence causing a silent buffer overflow.
    
    When a previous chunk decompression left some bytes in the decryption
    buffer, it was not taken into account in determining space left in the
    decompression buffer.
    
    So, it could happen, that the decryption buffer is completely full,
    but some bytes are not used yet. In such case, even though the buffer
    is full, the code tried to decrypt more bytes behind it's boundary.
    
    This CL resolves this issue by properly calculating the amount of
    space left in the decompression buffer.
    
    (This is an edited version of Tomasz Mikolajewski's pull request.)
    kientzle committed Jun 15, 2016
Commits on Jun 14, 2016
  1. @kientzle

    Merge pull request #716 from Tarsnap/remove-dead-code

    Remove dead code in archive_entry_xattr_add_entry()
    kientzle committed on GitHub Jun 14, 2016
Commits on Jun 13, 2016
  1. @gperciva

    Remove dead code in archive_entry_xattr_add_entry()

    The code seems to be walking through the linked list beginning at
    entry->xattr_head, but then it immediately sets xp to be something different.
    
    This is 10-year old code; it was added in the first "POSIX.1e-style Extended
    Attribute support" commit, on March 21 2006:
    https://svnweb.freebsd.org/base/head/lib/libarchive/archive_entry.c?annotate=156961&pathrev=156961#l1387
    gperciva committed Jun 13, 2016
Commits on Jun 11, 2016
  1. @kientzle

    Merge pull request #715 from mfont-ws/fix_archive_read_support_format…

    …_mtree.c_1388_11
    
    Fix libarchive/archive_read_support_format_mtree.c:1388:11: error: ar…
    kientzle committed on GitHub Jun 10, 2016
Commits on Jun 10, 2016
  1. @mfont-ws

    Fix libarchive/archive_read_support_format_mtree.c:1388:11: error: ar…

    …ray subscript is above array bounds
    mfont-ws committed Jun 10, 2016
Commits on Jun 9, 2016
  1. @kientzle

    Merge pull request #714 from finetjul/support-extended-path-in-permis…

    …sive_name_w
    
    Do not preppend \\?\ if it is already there
    kientzle committed Jun 8, 2016
Commits on Jun 8, 2016
  1. @finetjul

    Do not preppend \\?\ if it is already there

    If GetCurrentDirectory() returns \\?\C\a\path or
    \\?\UNC\server\a\path, then adding \\?\ would not work.
    finetjul committed Jun 8, 2016
Something went wrong with that request. Please try again.