kernel_samsung_a53x/drivers/tty/vt
Nicolas Pitre 7566143e0b vt: fix unicode buffer corruption when deleting characters
commit 1581dafaf0d34bc9c428a794a22110d7046d186d upstream.

This is the same issue that was fixed for the VGA text buffer in commit
39cdb68c64d8 ("vt: fix memory overlapping when deleting chars in the
buffer"). The cure is also the same i.e. replace memcpy() with memmove()
due to the overlaping buffers.

Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Fixes: 81732c3b2fed ("tty vt: Fix line garbage in virtual console on command line edition")
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/sn184on2-3p0q-0qrq-0218-895349s4753o@syhkavp.arg
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:22:39 +01:00
..
conmakehash.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
consolemap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cp437.uni Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
defkeymap.c_shipped Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
defkeymap.map Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
keyboard.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selection.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vc_screen.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vt.c vt: fix unicode buffer corruption when deleting characters 2024-11-19 09:22:39 +01:00
vt_ioctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00