diff --git a/modules/cas_cache/layer_cache_management.c b/modules/cas_cache/layer_cache_management.c index 211d70400..28abf50d7 100644 --- a/modules/cas_cache/layer_cache_management.c +++ b/modules/cas_cache/layer_cache_management.c @@ -1831,8 +1831,10 @@ int cache_mngt_get_core_info(struct kcas_core_info *info) uuid = ocf_core_get_uuid(core); - strlcpy(info->core_path_name, uuid->data, - min(sizeof(info->core_path_name), uuid->size)); + if (uuid->data) { + strlcpy(info->core_path_name, uuid->data, + min(sizeof(info->core_path_name), uuid->size)); + } info->state = ocf_core_get_state(core); diff --git a/ocf b/ocf index e7e0ad957..6c869d97f 160000 --- a/ocf +++ b/ocf @@ -1 +1 @@ -Subproject commit e7e0ad957d0b91d355338b383aa032437e9dd656 +Subproject commit 6c869d97fbf2f3fe862e106317fb1d22914723b6