summaryrefslogtreecommitdiff
path: root/arch
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:32:24 -0700
commit804f6a4a4745ce54f3afa76b3d2270b385f565f8 (patch)
tree8e49169e36ef57e0a96d7ae131d0dba8d7711c94 /arch
parente2a43abf3d9c6a3828d9a02c3de0d8bf16bd4b90 (diff)
downloadlinux-3.10-804f6a4a4745ce54f3afa76b3d2270b385f565f8.tar.gz
linux-3.10-804f6a4a4745ce54f3afa76b3d2270b385f565f8.tar.bz2
linux-3.10-804f6a4a4745ce54f3afa76b3d2270b385f565f8.zip
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 'arch')
0 files changed, 0 insertions, 0 deletions