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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 428B1158089 for ; Wed, 4 Oct 2023 21:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D1E72BC109; Wed, 4 Oct 2023 21:45:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66E082BC109 for ; Wed, 4 Oct 2023 21:45:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B271C335CDF for ; Wed, 4 Oct 2023 21:45:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DD5C9AC for ; Wed, 4 Oct 2023 21:45:12 +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: <1696455838.7e35a11c8721a89f919fd82de007e2978c52907a.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zxing-cpp/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch X-VCS-Directories: media-libs/zxing-cpp/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 7e35a11c8721a89f919fd82de007e2978c52907a X-VCS-Branch: master Date: Wed, 4 Oct 2023 21:45:12 +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: 153ea503-6391-4ab9-b605-c78ad69af009 X-Archives-Hash: b9a07ce6045496a78c879d11c972bdb0 commit: 7e35a11c8721a89f919fd82de007e2978c52907a Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Oct 4 15:48:46 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Oct 4 21:43:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e35a11c media-libs/zxing-cpp: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/33186 Signed-off-by: Conrad Kostecki gentoo.org> .../files/zxing-cpp-2.0.0-fix-crash.patch | 24 ---------------------- 1 file changed, 24 deletions(-) diff --git a/media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch b/media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch deleted file mode 100644 index e6b25633e8e9..000000000000 --- a/media-libs/zxing-cpp/files/zxing-cpp-2.0.0-fix-crash.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 23c19c5f98602a4d69d1667fff99678308b28b5b Mon Sep 17 00:00:00 2001 -From: liule -Date: Fri, 6 Jan 2023 22:06:24 +0800 -Subject: [PATCH] fix crash when the source image is less than 3 pixels - width/height - ---- - core/src/ReadBarcode.cpp | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/core/src/ReadBarcode.cpp b/core/src/ReadBarcode.cpp -index 905dd191c..5ac61e250 100644 ---- a/core/src/ReadBarcode.cpp -+++ b/core/src/ReadBarcode.cpp -@@ -76,7 +76,8 @@ class LumImagePyramid - - layers.push_back(iv); - // TODO: if only matrix codes were considered, then using std::min would be sufficient (see #425) -- while (threshold > 0 && std::max(layers.back().width(), layers.back().height()) > threshold) -+ while (threshold > 0 && std::max(layers.back().width(), layers.back().height()) > threshold && -+ std::min(layers.back().width(), layers.back().height()) >= N) - addLayer(); - #if 0 - // Reversing the layers means we'd start with the smallest. that can make sense if we are only looking for a