Skip to content

Commit 45b643d

Browse files
committed
OFI common: set include list explicitly to NULL
related to #7755 Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
1 parent 4d0c23c commit 45b643d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/common/ofi/common_ofi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ OPAL_DECLSPEC int opal_common_ofi_register_mca_variables(const mca_base_componen
5050
* to dereference a pointer which itself is no longer a valid address owing to having been previously dlclosed.
5151
*/
5252
opal_common_ofi.prov_include = (char **)malloc(sizeof(char *));
53+
*opal_common_ofi.prov_include = NULL;
5354
include_index = mca_base_var_register("opal", "opal_common", "ofi",
5455
"provider_include",
5556
"Comma-delimited list of OFI providers that are considered for use (e.g., \"psm,psm2\"; an empty value means that all providers will be considered). Mutually exclusive with mtl_ofi_provider_exclude.",

0 commit comments

Comments
 (0)