diff options
author | Xiaolong Huang <butterflyhuangxx@gmail.com> | 2019-12-07 22:40:24 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-12-08 12:22:01 +0100 |
commit | da2311a6385c3b499da2ed5d9be59ce331fa93e9 (patch) | |
tree | c520dbb9bc01bed7bb61a930df1683392b6765e2 /lib/memory-notifier-error-inject.c | |
parent | 2de497356955ce58cd066fb03d2da5235f3c7c23 (diff) |
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: 7259124eac7d ("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>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions