1
1

Merge pull request #7761 from hppritcha/topic/fix_issue_7755

OFI common: set include list explicitly to NULL
Этот коммит содержится в:
Howard Pritchard 2020-05-26 06:43:14 -06:00 коммит произвёл GitHub
родитель 4d0c23c029 45b643d0cf
Коммит e2948c96bc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

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

@ -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.
*/
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",
"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.",