diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-10-25 16:04:13 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-04 23:47:23 +0300 |
commit | 688d11c38423fd98ab6c8d5fc1976c8f365fc875 (patch) | |
tree | 0d28fc8b61d1e3a0f547107450ad6ff6e54c9eef /include | |
parent | eaa654f164ba9acd5656e6485eeb5e73da8bfc3e (diff) | |
download | linux-688d11c38423fd98ab6c8d5fc1976c8f365fc875.tar.xz |
can: j1939: transport: j1939_xtp_rx_eoma_one(): Add sanity check for correct total message size
We were sending malformed EOMA with total message size set to 0. This
issue has been fixed in the previous patch.
In this patch a sanity check is added to the RX path and a error message
is displayed.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions