Adding NULL check in CALEClientAddUuid 47/223447/1
authorsamanway <samanway@linux-samanway.sa.corp.samsungelectronics.net>
Wed, 22 Jan 2020 08:23:41 +0000 (13:53 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 30 Jan 2020 01:44:28 +0000 (10:44 +0900)
commit8db06e8bb74bbdb91fa3572da011530977609cf2
tree9b18c43aa8f5a75e2248d9ed9bdb60e16b4c11e9
parentba15452d847aa2ce7b75fb4ee610e1841cfe30e9
Adding NULL check in CALEClientAddUuid

- NULL check was missed before passing string to strcmp()
- Hence, added NULL check

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/652
(cherry-picked from 2f6b188bc90dc306f98414189d30206eef38be4a)

Change-Id: Ia92a7a308dcb73999df84d48e67aad6e4d7be0e0
Signed-off-by: samanway-dey <samanway.dey@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/android/caleclient.c