aboutsummaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-10-14 15:18:28 +0200
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:32 +0200
commit0663e68da0682547796f88f3b9bd08fb3960fd9e (patch)
tree64b2c718d2851a67611ff34b484284714c3d198c /include/linux/node.h
parent7a14342009106e049b4d820996f134f21fb29cc3 (diff)
tty: limit terminal size to 4M chars
commit 32b2921e6a7461fe63b71217067a6cf4bddb132f upstream. Size of kmalloc() in vc_do_resize() is controlled by user. Too large kmalloc() size triggers WARNING message on console. Put a reasonable upper bound on terminal size to prevent WARNINGs. Signed-off-by: Dmitry Vyukov <dvyukov@google.com> CC: David Rientjes <rientjes@google.com> Cc: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Cc: Peter Hurley <peter@hurleysoftware.com> Cc: linux-kernel@vger.kernel.org Cc: syzkaller@googlegroups.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions