Modify OCParseSecurityPayload() to prevent core-dump in debug mode.
Modify OCParseSecurityPayload() to prevent core-dump in debug mode.

   1. Add cbor value verification code
   2. Remove the cbor_value_leave_container() invoking.

Change-Id: Iaa0b784c1688eddff8d1a1eec6406f396e508db7
Signed-off-by: leechul <05de7e851f9410687d87fe9c2ea4411f2e0ec0c4@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4733
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Dmitriy Zhuravlev <40606fc6192608b045628e9c5ff8b9f4a53a45cc@samsung.com>
Reviewed-by: Sachin Agrawal <e527dde4abdf871552470c254efd4939572046d8@intel.com>

santais/iotivity_1.1.0,rzr/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,rzr/iotivity,santais/iotivity_1.1,santais/iotivity_1.1.0,rzr/iotivity,santais/iotivity_1.1,santais/iotivity,santais/iotivity_1.1,santais/iotivity_1.1,iotivity/iotivity,santais/iotivity_1.1.0,santais/iotivity,santais/iotivity_1.1.0,iotivity/iotivity,santais/iotivity,iotivity/iotivity,iotivity/iotivity,rzr/iotivity,santais/iotivity_1.1,iotivity/iotivity,santais/iotivity_1.1.0,rzr/iotivity,iotivity/iotivity,santais/iotivity_1.1,santais/iotivity,santais/iotivity_1.1,santais/iotivity_1.1.0,santais/iotivity,santais/iotivity,santais/iotivity_1.1,santais/iotivity_1.1.0,rzr/iotivity,santais/iotivity