- For tizen BLE caleclient.c file, in function CALEAdapterScanResultCb(),
g_LEServerListMutex was placed in a wrong nested block, as a result even if
g_LEServerListMutex was not locked in some case, ittas being unlocked following
crash in IoTivity stack.
- Hence, corrected it
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/538/commits/
4e49610943156f45e6b0e7c2a0a9783ba5c2b94b
(cherry-picked from
4e49610943156f45e6b0e7c2a0a9783ba5c2b94b)
Change-Id: I9d76583346029f46ef7ad7ded4c850ca1feb4b06
Signed-off-by: Samanway Dey <samanway.dey@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
CADestroyLEDataList(&serverInfo->pendingDataList);
oc_mutex_unlock(g_LEServerListMutex);
return ;
- }
- }
- }
+ }
+ }
+ }
+ oc_mutex_unlock(g_LEServerListMutex);
}
- oc_mutex_unlock(g_LEServerListMutex);
+
OIC_LOG(DEBUG, TAG, "OUT");
}