aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorH. Peter Anvin <[email protected]>2018-10-22 16:19:04 +0000
committerGreg Kroah-Hartman <[email protected]>2018-11-08 11:36:45 +0000
commit991a25194097006ec1e0d2e0814ff920e59e3465 (patch)
tree9e5c39ad649fe32166e66eac2fd6bbf79bd6257e /tools/perf/scripts/python/futex-contention.py
parentvt: fix broken display when running aptitude (diff)
downloadkernel-991a25194097006ec1e0d2e0814ff920e59e3465.tar.gz
kernel-991a25194097006ec1e0d2e0814ff920e59e3465.zip
termios, tty/tty_baudrate.c: fix buffer overrun
On architectures with CBAUDEX == 0 (Alpha and PowerPC), the code in tty_baudrate.c does not do any limit checking on the tty_baudrate[] array, and in fact a buffer overrun is possible on both architectures. Add a limit check to prevent that situation. This will be followed by a much bigger cleanup/simplification patch. Signed-off-by: H. Peter Anvin (Intel) <[email protected]> Requested-by: Cc: Johan Hovold <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Al Viro <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Matt Turner <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Eugene Syromiatnikov <[email protected]> Cc: Alan Cox <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions