Commit ca551487 authored by Andrii Shtompel's avatar Andrii Shtompel Committed by Dmitriy Zhuravlev

[IOT-2282] Do not update ACL in SVR DB when receive NULL aces from cloud

Change-Id: I0aea3490cd9f41c6a192c2ed87d8f49c80f6ac3c
Signed-off-by: default avatarAndrii Shtompel <>
Reviewed-on: default avatarjenkins-iotivity <>
Reviewed-by: default avatarOleksii Beketov <>
Reviewed-by: default avatarDmitriy Zhuravlev <>
parent 42a7bac4
......@@ -194,6 +194,13 @@ static OCStackResult handleAclGetInfoResponse(void *ctx, void **data, OCClientRe
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment