aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2019-07-22 12:47:27 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-07-30 18:34:32 +0200
commitba3224db78034435e9ff0247277cce7c7bb1756c (patch)
tree9c3581a5df43e5b644e6dc494d50ab551b1da2e2 /tools/perf/scripts/python
parent87e7e25aee6b59fef740856f4e86d4b60496c9e1 (diff)
iwlwifi: mvm: fix an out-of-bound access
The index for the elements of the ACPI object we dereference was static. This means that if we called the function twice we wouldn't start from 3 again, but rather from the latest index we reached in the previous call. This was dutifully reported by KASAN. Fix this. Cc: stable@vger.kernel.org Fixes: 6996490501ed ("iwlwifi: mvm: add support for EWRD (Dynamic SAR) ACPI table") Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions