linux/tools/power/x86
Dan Carpenter 010764b885 tools/power/x86/intel-speed-select: Fix a read overflow in isst_set_tdp_level_msr()
The isst_send_msr_command() function will read 8 bytes but we are
passing an address to an int (4 bytes) so it results in a read overflow.

Fixes: 3fb4f7cd47 ("tools/power/x86: A tool to validate Intel Speed Select commands")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2019-09-07 21:19:05 +03:00
..
intel_pstate_tracer treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466 2019-06-19 17:09:10 +02:00
intel-speed-select tools/power/x86/intel-speed-select: Fix a read overflow in isst_set_tdp_level_msr() 2019-09-07 21:19:05 +03:00
turbostat treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335 2019-06-05 17:37:06 +02:00
x86_energy_perf_policy treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 209 2019-05-30 11:29:53 -07:00