commit | c48c8c1e2e81e71a0f13b83cc5124333f3750064 | [log] [tgz] |
---|---|---|
author | Oleksij Rempel <o.rempel@pengutronix.de> | Tue Nov 05 11:07:08 2019 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Nov 13 10:42:34 2019 +0100 |
tree | 14c1cad59500c38b1f03b4d0ca840b8753c8bcff | |
parent | 25fe97cb7620ef2e6b4f44ef0de4e371adf6c1d0 [diff] |
can: j1939: main: j1939_ndev_to_priv(): avoid crash if can_ml_priv is NULL This patch avoids a NULL pointer deref crash if ndev->ml_priv is NULL. Reported-by: syzbot+95c8e0d9dffde15b6c5c@syzkaller.appspotmail.com Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>