aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-05-08 06:36:21 +0000
committerMichael Ellerman <[email protected]>2021-05-12 01:07:39 +0000
commit63970f3c37e75997ed86dbdfdc83df35f2152bb1 (patch)
tree0a0e52803737495d069d880441beea42a73ade0a /tools/perf/scripts/python/event_analyzing_sample.py
parentpowerpc/signal: Fix possible build failure with unsafe_copy_fpr_{to/from}_user (diff)
downloadkernel-63970f3c37e75997ed86dbdfdc83df35f2152bb1.tar.gz
kernel-63970f3c37e75997ed86dbdfdc83df35f2152bb1.zip
powerpc/legacy_serial: Fix UBSAN: array-index-out-of-bounds
UBSAN complains when a pointer is calculated with invalid 'legacy_serial_console' index, allthough the index is verified before dereferencing the pointer. Fix it by checking 'legacy_serial_console' validity before calculating pointers. Fixes: 0bd3f9e953bd ("powerpc/legacy_serial: Use early_ioremap()") Reported-by: Paul Menzel <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions