Fix : Null deference issue 87/135787/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Tue, 20 Jun 2017 12:06:59 +0000 (21:06 +0900)
committerInjun Yang <injun.yang@samsung.com>
Mon, 26 Jun 2017 11:28:14 +0000 (20:28 +0900)
commit738e483e9a9fcf90cc143c8223d249d02128c2b4
tree7dcab5f505f35c8644d49d94f9f82c8926dd5ebe
parentc51f794701663be620a81efb9455cbf1f0f23519
Fix : Null deference issue

[Problem] If remote device is not connected but _bt_le_conn_update is
 called, crash happens.
[Cause & Measure] There is no connected device info. But it is
 deferenced. This patch checks NULL for connected device info.
[Checking Method] Try to update LE connection parameter to non-connected
 BLE device

Change-Id: Id4fe04ff17392585ec544bcd4f22e33ad5906820
bt-service/bt-service-device.c