diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2020-10-07 23:18:21 -0700 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-10-08 23:21:46 +0200 |
commit | e009f95b1543e26606dca2f7e6e9f0f9174538e5 (patch) | |
tree | 6c427a11a6cadf98b6546d58f9f62ef67345adea /crypto | |
parent | 81f1f5ae8b3cbd54fdd994c9e9aacdb7b414a802 (diff) |
can: j1935: j1939_tp_tx_dat_new(): fix missing initialization of skbcnt
This fixes an uninit-value warning:
BUG: KMSAN: uninit-value in can_receive+0x26b/0x630 net/can/af_can.c:650
Reported-and-tested-by: syzbot+3f3837e61a48d32b495f@syzkaller.appspotmail.com
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Cc: Robin van der Gracht <robin@protonic.nl>
Cc: Oleksij Rempel <linux@rempel-privat.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Link: https://lore.kernel.org/r/20201008061821.24663-1-xiyou.wangcong@gmail.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions