diff options
author | Peter Zijlstra <[email protected]> | 2019-12-06 12:50:16 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2019-12-17 13:32:46 +0100 |
commit | 1e69a0efc0bd0e02b8327e7186fbb4a81878ea0b (patch) | |
tree | 8eeccf5d120c1eb9346e1959225383a02c3f69d7 /scripts/bpf_helpers_doc.py | |
parent | 57e04eeda515ee979fec3bc3d64c408feae18acc (diff) |
perf/x86: Fix potential out-of-bounds access
UBSAN reported out-of-bound accesses for x86_pmu.event_map(), it's
arguments should be < x86_pmu.max_events. Make sure all users observe
this constraint.
Reported-by: Meelis Roos <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Meelis Roos <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions