summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorScot Doyle <lkml14@scotdoyle.com>2016-10-13 12:12:43 -0500
committerSasha Levin <alexander.levin@verizon.com>2016-11-23 20:59:49 -0500
commit9f2d48f0745f921040df91bfe8fa7f0339cd7497 (patch)
tree06d9cafb40871eb75be0286cfd5269bd96a665d9 /fs
parent93ec720c6f10712fc1c6f87a7412194c85b366b9 (diff)
vt: clear selection before resizing
[ Upstream commit 009e39ae44f4191188aeb6dfbf661b771dbbe515 ] When resizing a vt its selection may exceed the new size, resulting in an invalid memory access [1]. Clear the selection before resizing. [1] http://lkml.kernel.org/r/CACT4Y+acDTwy4umEvf5ROBGiRJNrxHN4Cn5szCXE5Jw-d1B=Xw@mail.gmail.com Reported-and-tested-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Scot Doyle <lkml14@scotdoyle.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions