public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/prrte] rawhide: Add upstream fix for segfault in prte_hwloc_base_get_topo_signature
@ 2026-10-02 3:54 Orion Poplawski
0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-10-02 3:54 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-02 3:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 3:54 [rpms/prrte] rawhide: Add upstream fix for segfault in prte_hwloc_base_get_topo_signature Orion Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox