diff options
author | Kan Liang <[email protected]> | 2020-05-28 08:19:29 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-06-15 14:09:50 +0200 |
commit | f01719730bbe04b90ae60c7e9d2b6d3533308502 (patch) | |
tree | ce4a492b4a9cf7963cfe13175ed83a66d5c5ca16 /lib/test_fortify/write_overflow-strcpy.c | |
parent | 1b94d31de422399421422af0e63c9685e7485901 (diff) |
perf/x86/intel/uncore: Validate MMIO address before accessing
An oops will be triggered, if perf tries to access an invalid address
which exceeds the mapped area.
Check the address before the actual access to MMIO sapce of an uncore
unit.
Suggested-by: David Laight <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions