Fix for IOT-2253.
authorSenthil Kumar G S <senthil.gs@samsung.com>
Mon, 15 May 2017 15:28:18 +0000 (20:58 +0530)
committerUze Choi <uzchoi@samsung.com>
Tue, 16 May 2017 00:36:13 +0000 (00:36 +0000)
commita29be3965488be312721b9d78788e094ab355c54
tree1bca0a92324fd77df936a1f8f6af24b2e71cb72f
parent29ce417f6a3f9448c8da7e8eba8567d77fbadab8
Fix for IOT-2253.

Perform Null check before calling the member functions of OC::OCSecureResource.
This patch solves the crash issue.

Change-Id: Ieb292eee8724bf5ceb2918de424c76c9b780fa16
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19921
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.cpp