linux-uconsole/drivers/tty/vt
George Kennedy 3e734e6941 vc_screen: modify vcs_size() handling in vcs_read()
[ Upstream commit 46d733d0ef ]

Restore the vcs_size() handling in vcs_read() to what
it had been in previous version.

Fixes: 226fae124b ("vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF")
Suggested-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:40:13 +01:00
..
.gitignore
conmakehash.c
consolemap.c
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c tty: drivers/tty/, stop using tty_schedule_flip() 2022-07-29 17:19:27 +02:00
Makefile
selection.c
vc_screen.c vc_screen: modify vcs_size() handling in vcs_read() 2023-03-11 16:40:13 +01:00
vt.c vt: Clear selection before changing the font 2022-09-08 11:11:37 +02:00
vt_ioctl.c vt: drop old FONT ioctls 2022-06-29 08:59:44 +02:00