[IOT-2339] Add NULL check before variable access.
authorSenthil Kumar G S <senthil.gs@samsung.com>
Wed, 30 Aug 2017 15:01:02 +0000 (20:31 +0530)
committerSenthil Kumar G S <senthil.gs@samsung.com>
Thu, 7 Sep 2017 06:49:59 +0000 (06:49 +0000)
commitfddb4058e960b8d6eed00d08512559453e14a62d
treec8c7af4ad4559cced8795cb233b1718723e8dc2a
parent62bef131113a8892b863d947049dc66821bde00d
[IOT-2339] Add NULL check before variable access.

Added null check for 'sendData->remoteEndpoint' before the members
of remoteEndpoint gets accessed.

Change-Id: Ic4fc56087bcf9f72233f823ab5aaf0c39ec34afa
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/22271
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Harish Marappa <h.marappa@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 1a32ec0a6bf0a691e4abc830d12f5a366aa03321)
resource/csdk/connectivity/src/cablockwisetransfer.c