diff options
| author | 2019-12-07 22:40:24 +0800 | |
|---|---|---|
| committer | 2019-12-08 12:22:01 +0100 | |
| commit | da2311a6385c3b499da2ed5d9be59ce331fa93e9 (patch) | |
| tree | c520dbb9bc01bed7bb61a930df1683392b6765e2 /include/linux/mfd/git:/ssh: | |
| parent | can: tcan45x: Make wake-up GPIO an optional GPIO (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 'include/linux/mfd/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
