Fix for crash in BLE receive thread. 24/204724/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:12:57 +0000 (13:12 +0900)
commita664cd8c8431ef1ec36bb04262c6570cb7eeb0a4
tree7b3209650632627c0d7e0b6156bd676538b852b5
parent9ad90e55e4393c4c7b103b161894c883d6a261f1
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