RC Configuration: fixing potential dereference of null pointers
authorMarkus Jung <markus.jung@samsung.com>
Mon, 29 Feb 2016 08:17:12 +0000 (17:17 +0900)
committerHabib Virji <habib.virji@samsung.com>
Tue, 1 Mar 2016 09:30:57 +0000 (09:30 +0000)
commit4eb6ef31fe2841dac28d8ad9c59624d7843fcd27
treea0cb7571d689db4907c69df6f13fdc11f1f01fa3
parentc689ad1385804bc023ad2b229bcda44591beb38e
RC Configuration: fixing potential dereference of null pointers

Checks to make sure if certain configuration values are not
provided no null dereferenciation happens.

Issues reported by SVACE tool.

Change-Id: If4b7466dc2faca9447457784fb54d9990c3a15e4
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5261
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
service/resource-container/src/Configuration.cpp