Commit 8ac1ea9
committed
opal/mca: fix ompi_info segfault due to empty enumerator
This patch fixes a segfault that the enumerator variable is not assigned in
mca_base_var_enum_create_flag, leaving it as NULL. This causes invalid memory
access later when it is iterated over.
Signed-off-by: Wenduo Wang <wenduwan@amazon.com>1 parent 8ddc997 commit 8ac1ea9
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| |||
460 | 461 | | |
461 | 462 | | |
462 | 463 | | |
463 | | - | |
464 | | - | |
465 | 464 | | |
466 | 465 | | |
467 | 466 | | |
| |||
474 | 473 | | |
475 | 474 | | |
476 | 475 | | |
477 | | - | |
478 | 476 | | |
479 | 477 | | |
480 | 478 | | |
| |||
0 commit comments