Fix for crash in BLE receive thread. 30/204730/1
authorHarish Kumara M <h.marappa@samsung.com>
Fri, 23 Nov 2018 15:34:29 +0000 (21:04 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 26 Apr 2019 04:17:51 +0000 (13:17 +0900)
commit5c1639c777f6d029adca099c21ee8def49dd6da2
treeb50541d7a0412d34cf72ae4bdfeacd2bdba2d800
parentbf7f4edb41f45d89e385cedaa3fd37ff3c0a522c
Fix for crash in BLE receive thread.

Synchronizing access to client and server senderinfo as there are
chances of data receive handler may be acting on deleted SenderInfo
data when connection is closed. When connection closed, all senderInfo
for that connection are cleared in another thread.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/69383ab5a059d7dd114c69d5d5ff5371b5946c98
(cherry picked from 69383ab5a059d7dd114c69d5d5ff5371b5946c98)

Change-Id: Ibc495dba0143eef908eaa35a0173dde77288d4be
Signed-off-by: Harish Kumara M <h.marappa@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/caleadapter.c