zephyr/subsys/modbus
David Leach 3f0da93902 subsys/modbus: Fix potential memory overwrite (coverity)
The size of ctx->rx_adu.data is not CONFIG_MODBUS_BUFFER_SIZE. Coverity
flagged the potential overwrite so just use sizeof().

Fixes #33789
Fixes #33792
Fixes #33818

Signed-off-by: David Leach <david.leach@nxp.com>
2021-04-01 04:52:10 -04: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_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