From 97d68f22b5829fbb1a5f68e980cf95413161cfaba84a926f91dec49386675513 Mon Sep 17 00:00:00 2001 From: Anton Shvetz Date: Thu, 25 Dec 2025 00:51:24 +0300 Subject: [PATCH] Update to v1.11 --- xz-java-1.10.zip | 3 --- xz-java-1.11.zip | 3 +++ xz-java.changes | 19 +++++++++++++++++++ xz-java.spec | 4 ++-- 4 files changed, 24 insertions(+), 5 deletions(-) delete mode 100644 xz-java-1.10.zip create mode 100644 xz-java-1.11.zip diff --git a/xz-java-1.10.zip b/xz-java-1.10.zip deleted file mode 100644 index d4bde8d..0000000 --- a/xz-java-1.10.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c02a52da42f432fd5e9c8f30f8e0a9be775961d25740ec098b3f46b4d45f7fe5 -size 179204 diff --git a/xz-java-1.11.zip b/xz-java-1.11.zip new file mode 100644 index 0000000..a24a886 --- /dev/null +++ b/xz-java-1.11.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:858013737364386359c6a58ef70a865249ff940974a3cd16af217720f473dd7b +size 179000 diff --git a/xz-java.changes b/xz-java.changes index 31b730b..a8573ae 100644 --- a/xz-java.changes +++ b/xz-java.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Dec 24 21:48:33 UTC 2025 - Anton Shvetz + +- Upgrade to version 1.11 + * Fix a data corruption bug when encoding with the rarely-used + option LZMA2Options.MODE_UNCOMPRESSED. To trigger the bug, a + write call must cross an offset that is a multiple of 65536 + bytes. For example, one write of 70000 bytes or two write calls + of 50000 bytes each would trigger the bug. The bug isn't + triggered if there are ten write calls of 8192 bytes each + followed by one 123-byte write. + * If encoding to a .xz file, a decoder would catch the issue + because the integrity check wouldn't match. + * The binaries of 1.10 in the Maven Central require Java 8 and + contain optimized classes for Java >= 9 as multi-release JAR. + They were built with OpenJDK 21.0.9 on GNU/Linux and can be + reproduced using the following command: + SOURCE_DATE_EPOCH=1763575020 TZ=UTC0 ant maven + ------------------------------------------------------------------- Thu Jul 3 15:55:06 UTC 2025 - Fridrich Strba diff --git a/xz-java.spec b/xz-java.spec index 17df423..925cfbe 100644 --- a/xz-java.spec +++ b/xz-java.spec @@ -1,7 +1,7 @@ # # spec file for package xz-java # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2013 Peter Conrad # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: xz-java -Version: 1.10 +Version: 1.11 Release: 0 Summary: Pure Java implementation of XZ compression License: 0BSD -- 2.51.1