diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-08-21 10:14:03 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-09-07 21:19:05 +0300 |
commit | 010764b8856e5ee5056113704dc4b914ebc88f1d (patch) | |
tree | a349a81085e91b139ed3a7a54f4f6990c82b36a5 /net/rds/info.h | |
parent | 0ecee9e3d42231e5641671c5b6b1127d3efff1d4 (diff) |
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: 3fb4f7cd472c ("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>
Diffstat (limited to 'net/rds/info.h')
0 files changed, 0 insertions, 0 deletions