Fixed bug IOT-791
authorShilpa Sodani <shilpa.a.sodani@intel.com>
Mon, 5 Oct 2015 20:09:13 +0000 (13:09 -0700)
committerSachin Agrawal <sachin.agrawal@intel.com>
Fri, 16 Oct 2015 19:14:04 +0000 (19:14 +0000)
commit0c88b91ed0cda615b6ec8b7d6eb6548607ab6cc8
tree07c1481a9790619b989b416357116d793d1e3a0b
parent26df3cecc4e067d21f54a8a2bcca613c3a677b4c
Fixed bug IOT-791

Fixed seg fault caused by error handling conditions in function
AmsMgrAclReqCallback while trying to access uninitialized
amsMgrContext field in PEContext.

Change-Id: I65d3d76fc476f848a82e606f5f7f2a2bb3540935
Signed-off-by: Shilpa Sodani <shilpa.a.sodani@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3511
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/security/include/internal/amsmgr.h
resource/csdk/security/src/amsmgr.c
resource/csdk/security/src/policyengine.c
resource/csdk/security/src/secureresourcemanager.c