kernel_optimize_test/drivers/net/can/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 can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices 2019-12-08 12:22:01 +01:00
peak_usb can: peak_usb: report bus recovery as well 2019-11-04 21:47:20 +01:00
ems_usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 164 2019-05-30 11:26:38 -07:00
esd_usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 164 2019-05-30 11:26:38 -07:00
gs_usb.c can: gs_usb: gs_can_open(): prevent memory leak 2019-11-04 21:47:20 +01:00
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
Makefile
mcba_usb.c can: mcba_usb: fix use-after-free on disconnect 2019-11-04 21:47:20 +01:00
ucan.c can: ucan: fix non-atomic allocation in completion handler 2019-12-03 11:15:08 +01:00
usb_8dev.c can: usb_8dev: fix use-after-free on disconnect 2019-11-04 21:47:20 +01:00