android_kernel_sony_sdm845/drivers/tty
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe JAILLET 331f5923fc tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
[ Upstream commit fad92b11047a748c996ebd6cfb164a63814eeb2e ]

In the probe function, if the final 'serial_config()' fails, 'info' is
leaking.

Add a resource handling path to free this memory.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/dc25f96b7faebf42e60fe8d02963c941cf4d8124.1621971720.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:21:11 +02: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 tty: serial: 8250: serial_cs: Fix a memory leak in error handling path 2021-07-20 16:21:11 +02:00
vt tty: vt: always invoke vc->vc_sw->con_resize callback 2021-05-26 11:29:09 +02: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 tty: nozomi: Fix the error handling path of 'nozomi_card_init()' 2021-07-20 16:21:04 +02:00
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 return value for unsupported ioctls 2021-05-22 10:40:24 +02:00
tty_ioctl.c termios, tty/tty_baudrate.c: fix buffer overrun 2018-11-21 09:26:00 +01:00
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