Fix defects detected by SVACE system in easy setup
authorJihun Ha <jihun.ha@samsung.com>
Fri, 5 Aug 2016 07:40:09 +0000 (16:40 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Fri, 5 Aug 2016 12:14:32 +0000 (12:14 +0000)
commit53479c7b40bdd9aaab737d53551b3ff89e1be000
treecb887688cc58bc1df671a59b7583727c4444d0de
parentc882261a7ef610584acd5c0d96a2f0e10da4facf
Fix defects detected by SVACE system in easy setup

SVACE which is one of static code analysis tools detects several defects
in easy setup. This patch fixes them.

Change-Id: Ie7e3eb692c58c586b6d0964cf6af24829c39eb11
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10021
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/easy-setup/enrollee/src/resourcehandler.c
service/easy-setup/enrollee/unittests/ESEnrolleeTest.cpp
service/easy-setup/enrollee/unittests/ESMediatorSimulator.h
service/easy-setup/mediator/richsdk/inc/ESRichCommon.h
service/easy-setup/mediator/richsdk/src/EnrolleeResource.cpp
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.cpp
service/easy-setup/sampleapp/enrollee/linux/easysetup_x.c
service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c
service/easy-setup/sampleapp/mediator/linux/richsdk_sample/mediator_cpp.cpp