zephyr/subsys/net/lib
Peter Tönz a868da8568 net: lwm2m: Fix buffer overflow by using CONFIG_LWM2M_VERSION_1_0
By using CONFIG_LWM2M_VERSION_1_0, the function
lwm2m_engine_get_binding() returns the binding
and the queue mode bytes. Therefore the buffer
must be tree bytes long.
The issue is caused by the two inconsistent defines:

lwm2m_registry.c:
    #define BINDING_OPT_MAX_LEN 3 /* "UQ" */
lwm2m_rd_client.c:
    #define CLIENT_BINDING_LEN sizeof("U")

Signed-off-by: Peter Tönz <peter.tonz@husqvarnagroup.com>
2022-10-12 18:45:50 +09:00
..
capture includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
coap net: lib: coap: method_from_code() API change to return errors. 2022-09-12 10:53:34 +00:00
config includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
conn_mgr subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dns includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
http all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
lwm2m net: lwm2m: Fix buffer overflow by using CONFIG_LWM2M_VERSION_1_0 2022-10-12 18:45:50 +09:00
mqtt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sntp net: sntp: use zsock_ functions. 2022-10-03 10:19:47 +02:00
sockets net: lib: sockets_tls: Include zephyr_mbedtls_priv.h conditionally 2022-10-07 13:23:18 +02:00
socks includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tftp includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tls_credentials include: fix files using legacy include paths 2022-08-31 06:49:00 -04:00
utils subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
websocket net: websockets: Fix websocket_send_msg return code 2022-09-13 08:49:24 +00:00
zperf net: zperf: Configurable packet size limit 2022-09-15 16:34:13 +00:00
CMakeLists.txt net: zperf: Extract zperf into library 2022-08-10 11:15:21 +02:00
Kconfig net: zperf: Extract zperf into library 2022-08-10 11:15:21 +02:00