diff options
| author | Marius Zachmann <[email protected]> | 2025-06-19 13:27:47 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2025-07-15 17:36:35 +0000 |
| commit | 495a4f0dce9c8c4478c242209748f1ee9e4d5820 (patch) | |
| tree | 6ba63730e296c65db1dce9d2be731572ad74c5de /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Linux 6.16-rc6 (diff) | |
| download | kernel-495a4f0dce9c8c4478c242209748f1ee9e4d5820.tar.gz kernel-495a4f0dce9c8c4478c242209748f1ee9e4d5820.zip | |
hwmon: (corsair-cpro) Validate the size of the received input buffer
Add buffer_recv_size to store the size of the received bytes.
Validate buffer_recv_size in send_usb_cmd().
Reported-by: [email protected]
Closes: https://lore.kernel.org/linux-hwmon/[email protected]
Fixes: 40c3a4454225 ("hwmon: add Corsair Commander Pro driver")
Signed-off-by: Marius Zachmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
