Skip to content
Commit 9c63873d authored by Steven Poon's avatar Steven Poon Committed by Dan Kalowsky
Browse files

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: default avatarSteven Poon <steven-github@outlook.com>
(cherry picked from commit 30b30c29)
parent bd1db48d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment