aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-08-07 21:47:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 08:39:31 -0700
commit10b96fa9ff7a3607bb39548025cbad3009f7d587 (patch)
tree6304a74501aaebab94bc0f4239c7b295299e9414 /scripts/patch-kernel
parent79abf5039669ff6761d785d78b0c1767811b70ae (diff)
TTY: ttyprintk, don't touch behind tty->write_buf
commit ee8b593affdf893012e57f4c54a21984d1b0d92e upstream. 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 <jslaby@suse.cz> Cc: Samo Pogacnik <samo_pogacnik@t-2.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions