forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: lwm2m: Verify data buffer size in lwm2m_engine_set()
Check data buffer size and return error if * buffer size is too small for opaque or string data type * buffer size is not equal to res data length when data type is fixed size Signed-off-by: Juha Ylinen <[email protected]>
- Loading branch information
1 parent
e8f0e66
commit 5e4eeb1
Showing
1 changed file
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters