diff options
| author | Dan Carpenter <[email protected]> | 2022-04-13 07:37:44 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2022-04-27 14:55:54 +0000 |
| commit | 4345ece8f0bcc682f1fb3b648922c9be5f7dbe6c (patch) | |
| tree | 2aabb4162a9ce8d41ebbefe4601893ed4f071114 /tools/perf/scripts/python | |
| parent | tools/power/x86/intel-speed-select: fix build failure when using -Wl,--as-needed (diff) | |
| download | kernel-4345ece8f0bcc682f1fb3b648922c9be5f7dbe6c.tar.gz kernel-4345ece8f0bcc682f1fb3b648922c9be5f7dbe6c.zip | |
platform/x86: asus-wmi: Potential buffer overflow in asus_wmi_evaluate_method_buf()
This code tests for if the obj->buffer.length is larger than the buffer
but then it just does the memcpy() anyway.
Fixes: 0f0ac158d28f ("platform/x86: asus-wmi: Add support for custom fan curves")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/20220413073744.GB8812@kili
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
