public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/prrte] rawhide: Add upstream fix for segfault in prte_hwloc_base_get_topo_signature
Date: Fri, 02 Oct 2026 03:54:12 GMT [thread overview]
Message-ID: <179091325262.1.17499092843423811001.rpms-prrte-29709f5d1879@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/prrte
Branch : rawhide
Commit : 29709f5d1879d52f0ae4214502fb51ff0d9f3480
Author : Orion Poplawski <orion@nwra.com>
Date : 2026-10-01T21:54:07-06:00
Stats : +32/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/prrte/c/29709f5d1879d52f0ae4214502fb51ff0d9f3480?branch=rawhide
Log:
Add upstream fix for segfault in prte_hwloc_base_get_topo_signature
---
diff --git a/2417.patch b/2417.patch
new file mode 100644
index 0000000..1d702ce
--- /dev/null
+++ b/2417.patch
@@ -0,0 +1,29 @@
+From 79a3186a6291f5c34502f6345de7ec4df98b6824 Mon Sep 17 00:00:00 2001
+From: Ralph Castain <rhc@pmix.org>
+Date: Sun, 15 Mar 2026 13:05:29 -0600
+Subject: [PATCH] Protect against missing object types
+
+Indicate an object type isn't present by including a '-'
+in for the number of objects of that type in the signature.
+
+Signed-off-by: Ralph Castain <rhc@pmix.org>
+---
+ src/hwloc/hwloc_base_util.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/hwloc/hwloc_base_util.c b/src/hwloc/hwloc_base_util.c
+index 3f904bdc28..9afebbb7dc 100644
+--- a/src/hwloc/hwloc_base_util.c
++++ b/src/hwloc/hwloc_base_util.c
+@@ -1647,6 +1647,11 @@ static char* construct_range(char **vals)
+ int n, cnt;
+ char buf[4096], **ans = NULL, *str;
+
++ if (NULL == vals) {
++ str = strdup("-");
++ return str;
++ }
++
+ cnt = 1;
+ for (n=0; NULL != vals[n]; n++) {
+ if (NULL == vals[n+1]) {
diff --git a/prrte.spec b/prrte.spec
index 98e66b5..81ddd2f 100644
--- a/prrte.spec
+++ b/prrte.spec
@@ -15,7 +15,9 @@ Source0: https://github.com/openpmix/%{name}/releases/download/v%{version
# Obsoleted by upstream removal of flex-based parser
# in 11 commits f9ee7c5d57b8..cfc373e95c83 on master,
# which were then backported to the "v5.0" branch, but not older branches.
-Patch0: prrte-fix-cflags-before-picky.patch
+Patch: prrte-fix-cflags-before-picky.patch
+# Upstream fix for segfault in prte_hwloc_base_get_topo_signature
+Patch: https://github.com/openpmix/prrte/pull/2417.patch
BuildRequires: autoconf
BuildRequires: automake
reply other threads:[~2026-10-02 3:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=179091325262.1.17499092843423811001.rpms-prrte-29709f5d1879@fedoraproject.org \
--to=orion@nwra.com \
--cc=git-commits@fedoraproject.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