diff options
| author | Emmanuel Grumbach <[email protected]> | 2019-07-22 09:47:27 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2019-07-30 16:34:32 +0000 |
| commit | ba3224db78034435e9ff0247277cce7c7bb1756c (patch) | |
| tree | 9c3581a5df43e5b644e6dc494d50ab551b1da2e2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | iwlwifi: don't unmap as page memory that was mapped as single (diff) | |
| download | kernel-ba3224db78034435e9ff0247277cce7c7bb1756c.tar.gz kernel-ba3224db78034435e9ff0247277cce7c7bb1756c.zip | |
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: [email protected]
Fixes: 6996490501ed ("iwlwifi: mvm: add support for EWRD (Dynamic SAR) ACPI table")
Signed-off-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
