Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit f11514e

Browse files
authored
Merge pull request #1359 from rhc54/cmr201/usock
Fix a segfault during comm_spawn when we possibly send a message with a NULL callback function
2 parents edb35d5 + af2331f commit f11514e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orte/mca/rml/base/base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ OBJ_CLASS_DECLARATION(orte_rml_recv_request_t);
229229
(m)->iov, (m)->count, \
230230
(m)->tag, (m)->cbdata); \
231231
} \
232-
} else { \
232+
} else if (NULL != (m)->cbfunc.buffer) { \
233233
/* non-blocking buffer send */ \
234234
(m)->cbfunc.buffer((m)->status, &((m)->origin), \
235235
(m)->buffer, \

0 commit comments

Comments
 (0)