Commit 8a3a724
committed
Properly initialize group pointer passed to ompi_group_from_pset
The `group` pointer passed from `ompi_comm_init` is checked for
equality with MPI_GROUP_NULL in `ompi_group_from_pset` but is never
initialized. Valgrind complains about a jump based on uninitialized
values. Stack values are never default initialized so we have to
explicitly initialize it to `NULL`.
Signed-off-by: Joseph Schuchart <[email protected]>1 parent 796f46b commit 8a3a724
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | 195 | | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments