bianbu-linux-6.6/drivers/net/can/usb/kvaser_usb
Xiaolong Huang da2311a638 can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices
Uninitialized Kernel memory can leak to USB devices.

Fix this by using kzalloc() instead of kmalloc().

Signed-off-by: Xiaolong Huang <butterflyhuangxx@gmail.com>
Fixes: 7259124eac ("can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c")
Cc: linux-stable <stable@vger.kernel.org> # >= v4.19
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2019-12-08 12:22:01 +01:00
..
kvaser_usb.h
kvaser_usb_core.c can: kvaser_usb: Use struct_size() in alloc_candev() 2019-07-24 10:31:53 +02:00
kvaser_usb_hydra.c can: kvaser_usb: Fix potential uninitialized variable use 2018-11-09 17:19:57 +01:00
kvaser_usb_leaf.c can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices 2019-12-08 12:22:01 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00