aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2012-08-07 21:47:39 +0200
committerGreg Kroah-Hartman <[email protected]>2012-08-10 13:29:57 -0700
commitee8b593affdf893012e57f4c54a21984d1b0d92e (patch)
treef1c00109d602344142a66ecfa2bca504ce2387bd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentf06fb543c1d0cbd721250b72ee1244178a38aa9d (diff)
TTY: ttyprintk, don't touch behind tty->write_buf
If a user provides a buffer larger than a tty->write_buf chunk and passes '\r' at the end of the buffer, we touch an out-of-bound memory. Add a check there to prevent this. Signed-off-by: Jiri Slaby <[email protected]> Cc: [email protected] (everything maintained past v2.6.37) Cc: Samo Pogacnik <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions