Fix for bug IOT-759
authorShilpa Sodani <shilpa.a.sodani@intel.com>
Fri, 25 Sep 2015 20:21:58 +0000 (13:21 -0700)
committerSachin Agrawal <sachin.agrawal@intel.com>
Mon, 28 Sep 2015 05:41:39 +0000 (05:41 +0000)
commitf729d72cc08d8accc5a0ccbbb791b1e79167e2f9
treeb586886dd15b43f83390730871f82764f071945e
parent748a96ec226b4eedb9ec9fa390420e06365196ae
Fix for bug IOT-759

Fixed the seg fault when no recurrence rule corresponding to period
rule was present.

Change-Id: I69989819d17ef7edf644a0efa512b051b18b7307
Signed-off-by: Shilpa Sodani <shilpa.a.sodani@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3147
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
(cherry picked from commit 3382a044ea795e2335b96fb36139c6f217616c27)
Reviewed-on: https://gerrit.iotivity.org/gerrit/3167
resource/csdk/security/src/aclresource.c
resource/csdk/security/src/policyengine.c