Change-Id: I0aea3490cd9f41c6a192c2ed87d8f49c80f6ac3c
Signed-off-by: Andrii Shtompel <a.shtompel@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20193
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Oleksii Beketov <ol.beketov@samsung.com>
Reviewed-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
OIC_LOG_ACL(INFO, acl);
+ if (NULL == acl->aces)
+ {
+ OIC_LOG(WARNING, TAG, "NULL aces received. Database update is not required");
+ OIC_LOG(WARNING, TAG, "Assume that it is correct behavior");
+ goto exit;
+ }
+
result = InstallACL(acl);
if (result != OC_STACK_OK)
{