summaryrefslogtreecommitdiff
path: root/drivers/lguest
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-01-16 15:22:14 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-02 10:11:25 -0800
commitc81622ac4282b0183e738e192c91fabe4a782715 (patch)
tree51e88cfcab3db5b04d7afb4ac1d1b51ded21b165 /drivers/lguest
parent6ecde472b0d943251f8f348155495391720b61b0 (diff)
pty: Fix overlimit memory use
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>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions