zephyr/tests/net/lib/lwm2m
Seppo Takalo 95cef5f3ab net: lwm2m: Ensure string termination
When writing string data to resources which are string types,
we should count in the terminating character into the data length.

Corner cases exist where LwM2M resource type is opaque but
lwm2m_get_string() or lwm2m_set_string() are used to read/write
the data. We must ensure string termination on those case, but
terminating character must not be stored in the engine buffer
or counted in the data length as this might be considered
as part of the binary data.

Fixes #59196

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2023-06-21 10:42:31 +02:00
..
block_transfer tests: net: lwm2m: Add tests for block transfer 2023-05-15 09:18:09 +02:00
content_json samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
content_link_format samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
content_oma_tlv samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
content_plain_text samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
content_raw_cbor samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
content_senml_cbor samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
engine samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
lwm2m_engine samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
lwm2m_rd_client samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
lwm2m_registry net: lwm2m: Ensure string termination 2023-06-21 10:42:31 +02:00