summaryrefslogtreecommitdiff
path: root/rust/kernel/irq/request.rs
diff options
context:
space:
mode:
authorEdward Adam Davis <eadavis@qq.com>2025-09-09 08:51:22 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-12 15:58:41 +0200
commitfc702e7df456e219f029d0192fbc7cb357a16f4c (patch)
tree4be5a011e6f9641c7d9e5164e8d21475798999dd /rust/kernel/irq/request.rs
parente81783899d7d19cad567b68e115fcb37880e427b (diff)
vt: move vc_saved_screen to within tty allocated judgment
Everything starts with the assumption that a tty has been allocated. Therefore, Move it to within the tty allocation check. Fixes: 23743ba64709 ("vt: add support for smput/rmput escape codes") Reported-by: syzbot+f6cb41c144427dc0796a@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=f6cb41c144427dc0796a Tested-by: syzbot+f6cb41c144427dc0796a@syzkaller.appspotmail.com Signed-off-by: Edward Adam Davis <eadavis@qq.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/tencent_CAD45DB31906CF890DBB25AB0DED12205D07@qq.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions