Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tukaani-project/xz-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.10
Choose a base ref
...
head repository: tukaani-project/xz-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.11
Choose a head ref
  • 17 commits
  • 13 files changed
  • 1 contributor

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    76d8607 View commit details
    Browse the repository at this point in the history
  2. README.md: Fix indentation

    Larhzu committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    2170a12 View commit details
    Browse the repository at this point in the history
  3. build.xml: Compress distribution .zip file slightly better

    Add "-9" as argument to "git archive".
    
    Also simplify the argument list into a single <arg line="..."/> element.
    Larhzu committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    fdecc73 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2024

  1. SHA256SUMS: Add the list of SHA-256 hashes of release files

    The release files are signed but verifying the signatures cannot
    catch certain types of attacks:
    
    1. A malicious maintainer could make more than one variant of
       a package. One could be for general distribution. Another
       with malicious content could be targeted to specific users,
       for example, distributing the malicious version on a mirror
       controlled by the attacker.
    
    2. If the signing key of an honest maintainer was compromised
       without being detected, a similar situation as described
       above could occur.
    
    SHA256SUMS could be put on the project website but having it in
    the Git repository makes it obvious that old lines aren't modified
    when the file is updated.
    Larhzu committed Dec 1, 2024
    Configuration menu
    Copy the full SHA
    a09bb14 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2025

  1. Fix data corruption with LZMA2Options.MODE_UNCOMPRESSED

    It can happen when encoding a file larger than 65536 bytes. Decoders
    catch the corruption because the integrity check doesn't match.
    
    The encoder bug doesn't occur if one only adds
    
        options.setMode(LZMA2Options.MODE_UNCOMPRESSED);
    
    to XZEncDemo.java because XZEncDemo uses 8192-byte input buffer
    which perfectly divides 65536. If the buffer size is changed, then
    XZEncDemo will trigger the bug.
    
    Reported-by: Daniel Wilhelm
    Fixes: daface1 ("Add LZMA2 encoder.")
    Fixes: #21
    Larhzu committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    a169784 View commit details
    Browse the repository at this point in the history
  2. Update THANKS

    Larhzu committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    affaa29 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2025

  1. Configuration menu
    Copy the full SHA
    cd460b8 View commit details
    Browse the repository at this point in the history
  2. Avoid an unneeded arraycopy in UncompressedLZMA2OutputStream

    If uncompBuf is empty and UncompressedLZMA2OutputStream.write is called
    with len >= 64 KiB, then a full LZMA2 chunk can be copied directly from
    the input buffer to the output stream. This can improve speed by a tiny
    amount in specific use cases.
    
    Suggested-by: Daniel Wilhelm <wilhelm@appwork.org>
    Larhzu committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    74e42f4 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2025

  1. REUSE.toml: Add SHA256SUMS

    Larhzu committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    14c7102 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ff3ec5 View commit details
    Browse the repository at this point in the history
  3. IA64.code: Silence a false positive from Coverity

    bitRes is obviously at most 7 and thus (1 << bitRes) is at most 128,
    so there is no risk of overflow. Coverity still doesn't like it because
    the resulting int is widened to a long before the bitwise-and with instr.
    Use (1L << bitRes) to avoid the widening and thus the warning.
    
    Silences: Coverity CID 638721
    Larhzu committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    d010bdf View commit details
    Browse the repository at this point in the history
  4. LZMACoder: Fix a copy-paste error

    There is no functional change because low.length == mid.length,
    but it clearly was wrong still.
    
    Fixes: Coverity SID 638698
    Larhzu committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    6dd6e27 View commit details
    Browse the repository at this point in the history
  5. UncompressedLZMA2OutputStream: Don't mention ResettableArrayCache

    No class in this package currently uses ResettableArrayCache so
    mentioning it in a comment is odd.
    Larhzu committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    cc7ea2e View commit details
    Browse the repository at this point in the history
  6. CI: Add Coverity Scan

    Larhzu committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    061ba5d View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2025

  1. Configuration menu
    Copy the full SHA
    afd20a2 View commit details
    Browse the repository at this point in the history
  2. Update NEWS.md for 1.11

    Larhzu committed Nov 19, 2025
    Configuration menu
    Copy the full SHA
    cd59206 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eec2ad9 View commit details
    Browse the repository at this point in the history
Loading