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 4833015808B for ; Sat, 2 Apr 2022 18:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4768EE0817; Sat, 2 Apr 2022 18:32:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D575AE0817 for ; Sat, 2 Apr 2022 18:32:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38B7034126D for ; Sat, 2 Apr 2022 18:32:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7ABA735F for ; Sat, 2 Apr 2022 18:32:48 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1648924331.7d5d9a780a8c895439b85d03a3b6ce70f4dd08c8.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/openrc/files/openrc-0.44.6-fix-checkpath.patch X-VCS-Directories: sys-apps/openrc/files/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 7d5d9a780a8c895439b85d03a3b6ce70f4dd08c8 X-VCS-Branch: master Date: Sat, 2 Apr 2022 18:32:48 +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: 9c8f261b-8432-4d13-aee1-012c2f4d0c28 X-Archives-Hash: e64f860c40100a37d0a4a1ab4d55eab7 commit: 7d5d9a780a8c895439b85d03a3b6ce70f4dd08c8 Author: William Hubbs gentoo org> AuthorDate: Sat Apr 2 18:32:11 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Apr 2 18:32:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5d9a78 sys-apps/openrc: drop unneeded patch Signed-off-by: William Hubbs gentoo.org> .../openrc/files/openrc-0.44.6-fix-checkpath.patch | 33 ---------------------- 1 file changed, 33 deletions(-) diff --git a/sys-apps/openrc/files/openrc-0.44.6-fix-checkpath.patch b/sys-apps/openrc/files/openrc-0.44.6-fix-checkpath.patch deleted file mode 100644 index e1ef97d981dc..000000000000 --- a/sys-apps/openrc/files/openrc-0.44.6-fix-checkpath.patch +++ /dev/null @@ -1,33 +0,0 @@ -From cc45b55f895d0c21b5ac3e5a65b0bf00f76adeb7 Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Fri, 8 Oct 2021 04:52:55 +0100 -Subject: [PATCH 1/2] checkpath: fix allocation size of path buffer - -strlen's return value isn't enough to be used -directly for (x)malloc; it doesn't include -the null byte at the end of the string. - -X-Gentoo-Bug: 816900 -X-Gentoo-Bug-URL: https://bugs.gentoo.org/816900 -Fixes: #459 -Fixes: #462 ---- - src/rc/checkpath.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c -index bab22692..c4dd7d9d 100644 ---- a/src/rc/checkpath.c -+++ b/src/rc/checkpath.c -@@ -151,7 +151,7 @@ static char *clean_path(char *path) - char *ch; - char *ch2; - char *str; -- str = xmalloc(strlen(path)); -+ str = xmalloc(strlen(path) + 1); - ch = path; - ch2 = str; - while (true) { --- -2.32.0 -