mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-01 18:53:02 +09:00
[ Upstream commit46d733d0ef] 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>