diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2019-03-23 15:49:16 -0500 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2019-04-25 19:42:26 +0300 |
| commit | d5414c2355b20ea8201156d2e874265f1cb0d775 (patch) | |
| tree | 8e9b39ab013dd4feab46f066ff004ba6d903359f /tools/perf/scripts/python | |
| parent | rt2x00: code-style fix in rt2800usb.c (diff) | |
| download | linux-d5414c2355b20ea8201156d2e874265f1cb0d775.tar.gz linux-d5414c2355b20ea8201156d2e874265f1cb0d775.zip | |
rsi: Fix NULL pointer dereference in kmalloc
kmalloc can fail in rsi_register_rates_channels but memcpy still attempts
to write to channels. The patch replaces these calls with kmemdup and
passes the error upstream.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
