1
1

OFI common: set include list explicitly to NULL

related to #7755

Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
Этот коммит содержится в:
Howard Pritchard 2020-05-23 14:05:29 -06:00
родитель 4d0c23c029
Коммит 45b643d0cf

Просмотреть файл

@ -50,6 +50,7 @@ OPAL_DECLSPEC int opal_common_ofi_register_mca_variables(const mca_base_componen
* to dereference a pointer which itself is no longer a valid address owing to having been previously dlclosed. * to dereference a pointer which itself is no longer a valid address owing to having been previously dlclosed.
*/ */
opal_common_ofi.prov_include = (char **)malloc(sizeof(char *)); opal_common_ofi.prov_include = (char **)malloc(sizeof(char *));
*opal_common_ofi.prov_include = NULL;
include_index = mca_base_var_register("opal", "opal_common", "ofi", include_index = mca_base_var_register("opal", "opal_common", "ofi",
"provider_include", "provider_include",
"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.", "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.",