zephyr/subsys/modbus
Johann Fischer a42c51654b modbus: fix untrusted loop bound in modbus client
Use size_t type where it makes sense and
check if the buffer is large enough before it is used.

Fixes: #33786
Fixes: #33795

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-05-05 11:33:56 +02:00
..
CMakeLists.txt modbus: add raw ADU support 2021-03-19 15:50:21 +01:00
Kconfig modbus: add raw ADU support 2021-03-19 15:50:21 +01:00
modbus_client.c modbus: fix untrusted loop bound in modbus client 2021-05-05 11:33:56 +02:00
modbus_core.c modbus: rework RS-485 transceiver DE,RE GPIO configuration 2021-03-19 15:50:21 +01:00
modbus_internal.h modbus: rework RS-485 transceiver DE,RE GPIO configuration 2021-03-19 15:50:21 +01:00
modbus_raw.c subsys/modbus: Fix potential memory overwrite (coverity) 2021-04-01 04:52:10 -04:00
modbus_serial.c modbus: fix potential null pointer dereference 2021-03-24 10:56:06 +02:00
modbus_server.c modbus: move some RX/TX ADU related code to the core 2021-03-19 15:50:21 +01:00