[IOT-2331] segmentation fault in aclresource.c
[IOT-2331] segmentation fault in aclresource.c

Linux enrollee sample crashes - segmentation fault in aclresource.c

Change-Id: Id6d50d29184e239ac7cc3371918bed8980c35204
Signed-off-by: Oleksandr Dmytrenko <ac8a75696488f0ad09faf127cfe5b239ac42d75e@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20169
Reviewed-by: Andrii Shtompel <25499a78f7e7032392a327573ae90c1e2a94b983@samsung.com>
Reviewed-by: dongik Lee <8b2e1c179b9ea34742a1e76179d1028da50f177c@samsung.com>
Tested-by: jenkins-iotivity <d95b56ce41a2e1ac4cecdd398defd7414407cc08@iotivity.org>
Reviewed-by: Dmitriy Zhuravlev <40606fc6192608b045628e9c5ff8b9f4a53a45cc@samsung.com>

iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,rzr/iotivity,rzr/iotivity,iotivity/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,iotivity/iotivity,iotivity/iotivity