Skip to content

Commit 3d0fc29

Browse files
author
Ralph Castain
authored
Merge pull request #3684 from rhc54/topic/trivial
Protect against NULL topology
2 parents a9005d6 + 00ba6a1 commit 3d0fc29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

orte/util/nidmap.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,8 @@ int orte_util_encode_nodemap(opal_buffer_t *buffer)
599599
opal_output_verbose(5, orte_nidmap_output,
600600
"%s CONTINUE TOPOLOGY RANGE (%d) WITH NODE %s: %s",
601601
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
602-
tp->cnt, nptr->name, tp->t->sig);
602+
tp->cnt, nptr->name,
603+
(NULL == tp->t) ? "N/A" : tp->t->sig);
603604
} else {
604605
/* need to start another range */
605606
tp = OBJ_NEW(orte_regex_range_t);

0 commit comments

Comments
 (0)