Jiri Slaby
0fdb8c22e9
vt/consolemap: do font sum unsigned
...
[ Upstream commit 9777f8e60e718f7b022a94f2524f967d8def1931 ]
The constant 20 makes the font sum computation signed which can lead to
sign extensions and signed wraps. It's not much of a problem as we build
with -fno-strict-overflow. But if we ever decide not to, be ready, so
switch the constant to unsigned.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210105120239.28031-7-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-07 11:25:57 +01:00
..
hvc
tty: hvcs: Don't NULL tty->driver_data until hvcs_cleanup()
2020-10-29 09:05:35 +01:00
ipwireless
tty: ipwireless: fix error handling
2020-10-29 09:05:45 +01:00
serial
serial_core: Check for port state when tty is in error state
2020-12-29 13:44:52 +01:00
vt
vt/consolemap: do font sum unsigned
2021-03-07 11:25:57 +01:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c
tty: evh_bytechan: Fix out of bounds accesses
2020-04-24 07:59:15 +02:00
goldfish.c
isicom.c
Kconfig
tty: ldisc: add sysctl to prevent autoloading of ldiscs
2019-04-17 08:36:44 +02:00
Makefile
metag_da.c
mips_ejtag_fdc.c
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
tty: n_gsm: Fix bogus i++ in gsm_data_kick
2020-06-30 15:38:26 -04:00
n_hdlc.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
n_r3964.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
nozomi.c
pty.c
pty: do tty_flip_buffer_push without port->lock in pty_write
2020-10-29 09:05:35 +01:00
rocket.c
tty: rocket, avoid OOB access
2020-05-02 17:23:12 +02:00
rocket.h
rocket_int.h
synclink.c
synclink_gt.c
tty: synclink_gt: Adjust indentation in several functions
2020-02-28 15:42:32 +01:00
synclinkmp.c
tty: synclinkmp: Adjust indentation in several functions
2020-02-28 15:42:32 +01:00
sysrq.c
sysrq: Remove duplicated sysrq message
2020-03-11 07:53:04 +01:00
tty_audit.c
tty_buffer.c
tty: increase the default flip buffer limit to 2*640K
2019-04-05 22:29:13 +02:00
tty_io.c
tty: Fix ->session locking
2020-12-11 13:38:00 +01:00
tty_ioctl.c
tty_ldisc.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
tty_ldsem.c
tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop
2019-08-25 10:51:35 +02:00
tty_mutex.c
tty_port.c
tty: always relink the port
2020-01-14 20:04:30 +01:00