diff options
| author | Dan Carpenter <[email protected]> | 2022-04-13 10:37:44 +0300 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2022-04-27 16:25:24 +0200 |
| commit | d2833762f23a62cce1636452108706541a735290 (patch) | |
| tree | feadc07440cf01729b81cade7c621621d5cc85ed /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | acd51562e07d17aaf4ac652f1dc55c743685bf41 (diff) | |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions