diff options
author | 2022-04-13 10:37:44 +0300 | |
---|---|---|
committer | 2022-04-27 16:25:24 +0200 | |
commit | d2833762f23a62cce1636452108706541a735290 (patch) | |
tree | feadc07440cf01729b81cade7c621621d5cc85ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: amd-pmc: Shuffle location of amd_pmc_get_smu_version() (diff) | |
download | linux-dev-d2833762f23a62cce1636452108706541a735290.tar.xz linux-dev-d2833762f23a62cce1636452108706541a735290.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 <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220413073744.GB8812@kili
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions