Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information