From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4897E13933E for ; Wed, 14 Jul 2021 20:05:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90C73E0A8E; Wed, 14 Jul 2021 20:05:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 888BCE0A8E for ; Wed, 14 Jul 2021 20:05:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70E5933E02F for ; Wed, 14 Jul 2021 20:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A44F7D1 for ; Wed, 14 Jul 2021 20:05:40 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1626293028.f6fbe74a87c4108a4fe5567e60cd8fed06003746.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/i2p/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/i2p/files/i2p-0.9.47-DataHelper-decompress-fix-length-check.patch X-VCS-Directories: net-vpn/i2p/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: f6fbe74a87c4108a4fe5567e60cd8fed06003746 X-VCS-Branch: master Date: Wed, 14 Jul 2021 20:05:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f4d6c57-e38e-4ad0-a702-7d5e35649cda X-Archives-Hash: d6cc408cb724e5034c0ef43d8e1c682d commit: f6fbe74a87c4108a4fe5567e60cd8fed06003746 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Jul 14 19:25:18 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jul 14 20:03:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6fbe74a net-vpn/i2p: remove unused patch Bug: https://github.com/gentoo/gentoo/pull/21641 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> ...47-DataHelper-decompress-fix-length-check.patch | 25 ---------------------- 1 file changed, 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 b728cc28cb1..00000000000 --- 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 -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);