From 3c9d167bd257fc476b93759d25540dbd903df176 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 24 Oct 2010 19:24:44 +0000 Subject: [PATCH] Fix segfault in ompi_info when no pml_v includes provided This commit was SVN r23926. --- ompi/mca/pml/v/pml_v_component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/pml/v/pml_v_component.c b/ompi/mca/pml/v/pml_v_component.c index 1cd6c4b27c..de42d123a0 100644 --- a/ompi/mca/pml/v/pml_v_component.c +++ b/ompi/mca/pml/v/pml_v_component.c @@ -94,7 +94,7 @@ static int mca_pml_v_component_close(void) mca_pml_v.host_request_fns = ompi_request_functions; /* Do not load anything if no FT protocol is selected */ - if(! mca_vprotocol_base_include_list[0]) { + if (NULL != mca_vprotocol_base_include_list && !mca_vprotocol_base_include_list[0]) { return mca_pml_v_component_parasite_close(); }