git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecde47
)
pty: Fix overlimit memory use
author
Peter Hurley
<peter@hurleysoftware.com>
Fri, 16 Jan 2015 20:22:14 +0000
(15:22 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:25 +0000
(10:11 -0800)
The pty_space() computation is broken; the space already consumed
in the tty buffer is not accounted for.
Use tty_buffer_set_limit(), which enforces the limit automatically.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
patch
|
blob
|
history
diff --cc
drivers/tty/pty.c
Simple merge