diff --git a/Fix-invalid-read-outsize-allocated-memory.patch b/Fix-invalid-read-outsize-allocated-memory.patch deleted file mode 100644 index fc938b58cc59b211db570da79d71d375c8f1df0c..0000000000000000000000000000000000000000 --- a/Fix-invalid-read-outsize-allocated-memory.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 9429e20de3885c0e0d9beac23f703fce58461021 Mon Sep 17 00:00:00 2001 -From: Szabolcs Berecz -Date: Sun, 25 Oct 2015 22:43:25 +0100 -Subject: [PATCH] Fix invalid read outsize allocated memory - -The invalid read happens when compressing a 1 byte file. ---- - src/zopfli/hash.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/src/zopfli/hash.c b/src/zopfli/hash.c -index a3b294fa..66528aa5 100644 ---- a/src/zopfli/hash.c -+++ b/src/zopfli/hash.c -@@ -129,7 +129,6 @@ void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end, - - void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end, - ZopfliHash* h) { -- (void)end; - UpdateHashValue(h, array[pos + 0]); -- UpdateHashValue(h, array[pos + 1]); -+ if (pos + 1 < end) UpdateHashValue(h, array[pos + 1]); - } diff --git a/zopfli-1.0.1.tar.gz b/zopfli-1.0.1.tar.gz deleted file mode 100644 index 811669a9bd2ccaa0c3e95b0896e939ee26dfe08d..0000000000000000000000000000000000000000 Binary files a/zopfli-1.0.1.tar.gz and /dev/null differ diff --git a/zopfli.spec b/zopfli.spec index d7c35e9c737c7a2bfe3767ad38d7b18b6758844e..27d8bb30d8c28d2f9031052d46c8339ada51e363 100644 --- a/zopfli.spec +++ b/zopfli.spec @@ -1,6 +1,6 @@ Name: zopfli Version: 1.0.3 -Release: 1 +Release: 2 Summary: Compression library programmed in C License: ASL 2.0 URL: https://github.com/google/zopfli @@ -30,6 +30,9 @@ chmod 0755 %{buildroot}%{_bindir}/zopfli* %changelog +* Thu Oct 27 2022 licihua -1.0.3-2 +- Delete unused files + * Mon Mar 21 2022 SimpleUpdate Robot - 1.0.3-1 - Upgrade to version 1.0.3