From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrc/files/
Date: Sat, 2 Apr 2022 18:32:48 +0000 (UTC) [thread overview]
Message-ID: <1648924331.7d5d9a780a8c895439b85d03a3b6ce70f4dd08c8.williamh@gentoo> (raw)
commit: 7d5d9a780a8c895439b85d03a3b6ce70f4dd08c8
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 2 18:32:11 2022 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> 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 <williamh <AT> 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 <sam@gentoo.org>
-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
-
next reply other threads:[~2022-04-02 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-02 18:32 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-21 19:56 [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrc/files/ Sam James
2017-12-20 22:27 William Hubbs
2017-02-05 16:37 David Seifert
2017-02-04 21:48 David Seifert
2017-02-04 21:22 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1648924331.7d5d9a780a8c895439b85d03a3b6ce70f4dd08c8.williamh@gentoo \
--to=williamh@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox