zephyr/subsys/mgmt
Dominik Ermel 7728587f47 mgmt/mcumgr/lib: Fix no check on message
The commit fixes smp_process_request_packet not checking header
stated message length against actual message length.
This could lead to an erratic behavior of an application when it tries
to parse CBOR data beyond actual size of message or potential
Zephyr crash.
When application has asserts enabled the error leads to inevitable
Zephyr crash, caused by net_buf checks.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-02-01 16:20:35 -05:00
..
ec_host_cmd toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
hawkbit subsys/mgmt/hawkbit: Check retval of mbedtls_md_update 2021-09-14 12:28:40 -04:00
mcumgr mgmt/mcumgr/lib: Fix no check on message 2022-02-01 16:20:35 -05:00
osdp mgmt/osdp: Handle errors in uart_fifo_read() 2021-11-23 10:39:03 -05:00
updatehub mgmt: updatehub: Use coap_packet_get_payload function 2021-09-02 16:54:15 +02:00
CMakeLists.txt ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00
Kconfig ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00