Skip to content
Commit 0c2b7718 authored by Seppo Takalo's avatar Seppo Takalo Committed by Chris Friedt
Browse files

tests: net: lwm2m: Add tests for string truncation



lwm2m_get_string() and lwm2m_set_string() API does not allow
strings to be truncated and ensures NUL termination
regardles of using string or opaque resources to store the string.

Add tests to verify that is also true on multi-byte UTF-8
strings.

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent d299ce35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment