diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-10-25 15:04:13 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-04 21:47:23 +0100 |
commit | 688d11c38423fd98ab6c8d5fc1976c8f365fc875 (patch) | |
tree | 0d28fc8b61d1e3a0f547107450ad6ff6e54c9eef /drivers | |
parent | eaa654f164ba9acd5656e6485eeb5e73da8bfc3e (diff) | |
download | linux-stable-688d11c38423fd98ab6c8d5fc1976c8f365fc875.tar.gz linux-stable-688d11c38423fd98ab6c8d5fc1976c8f365fc875.tar.bz2 linux-stable-688d11c38423fd98ab6c8d5fc1976c8f365fc875.zip |
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 'drivers')
0 files changed, 0 insertions, 0 deletions