Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: lib: lwm2m: Fix missing mutex unlock
lwm2m_engine_set() and lwm2m_engine_get() locks the registry_lock mutex, but this is not unlocked when setting or getting a time resource where the buffer lengths are invalid resulting in an early return without unlocking the mutex. This results in a deadlock when attempting to lock the registry in another thread. Signed-off-by: Steven Poon <[email protected]> (cherry picked from commit 30b30c2)
- Loading branch information