summaryrefslogtreecommitdiff
path: root/net-vpn/i2p/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-17 19:04:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-17 19:04:28 +0100
commit514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch)
tree555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /net-vpn/i2p/files
parent4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff)
gentoo resync : 17.07.2021
Diffstat (limited to 'net-vpn/i2p/files')
-rw-r--r--net-vpn/i2p/files/i2p-0.9.47-DataHelper-decompress-fix-length-check.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/net-vpn/i2p/files/i2p-0.9.47-DataHelper-decompress-fix-length-check.patch b/net-vpn/i2p/files/i2p-0.9.47-DataHelper-decompress-fix-length-check.patch
deleted file mode 100644
index b728cc28cb15..000000000000
--- a/net-vpn/i2p/files/i2p-0.9.47-DataHelper-decompress-fix-length-check.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-# from https://trac.i2p2.de/ticket/2770
-From ceb0749e0d5c3c496b4a91bc3a9d3b5e296fc456 Mon Sep 17 00:00:00 2001
-From: zzz <zzz@mail.i2p>
-Date: Wed, 2 Sep 2020 15:57:04 +0000
-Subject: [PATCH] Util: Fix decompression of compressed zero bytes (ticket
- #2770)
-
----
- core/java/src/net/i2p/data/DataHelper.java | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/core/java/src/net/i2p/data/DataHelper.java b/core/java/src/net/i2p/data/DataHelper.java
-index aaa47797c3..39f766e6fa 100644
---- a/core/java/src/net/i2p/data/DataHelper.java
-+++ b/core/java/src/net/i2p/data/DataHelper.java
-@@ -1902,7 +1902,8 @@ public static String unescapeHTML(String escaped) {
- */
- public static byte[] decompress(byte orig[], int offset, int length) throws IOException {
- if (orig == null) return orig;
-- if (length < 23)
-+ // normal overhead is 23 bytes, but a compress of zero bytes is 20 bytes
-+ if (length < 20)
- throw new IOException("length");
- if (length < 65559 && orig[offset + 10] == 0x01)
- return zeroDecompress(orig, offset, length);