aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorTomas Bortoli <[email protected]>2019-07-31 14:54:47 +0000
committerMarc Kleine-Budde <[email protected]>2019-08-02 11:57:48 +0000
commit30a8beeb3042f49d0537b7050fd21b490166a3d9 (patch)
tree95d589f04a19646628d41b21a5bb3ef537ed82bb /tools/perf/scripts/python/event_analyzing_sample.py
parentcan: peak_usb: force the string buffer NULL-terminated (diff)
downloadkernel-30a8beeb3042f49d0537b7050fd21b490166a3d9.tar.gz
kernel-30a8beeb3042f49d0537b7050fd21b490166a3d9.zip
can: peak_usb: pcan_usb_fd: Fix info-leaks to USB devices
Uninitialized Kernel memory can leak to USB devices. Fix by using kzalloc() instead of kmalloc() on the affected buffers. Signed-off-by: Tomas Bortoli <[email protected]> Reported-by: [email protected] Fixes: 0a25e1f4f185 ("can: peak_usb: add support for PEAK new CANFD USB adapters") Cc: linux-stable <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions