Rasmus Villemoes
07584d4a35
drivers: tty: Fix use-after-free in pty_common_install
...
In 2c964a2f "drivers: tty: Merge alloc_tty_struct and
initialize_tty_struct", I messed up the refactorization of
pty_common_install, causing use-after-free and NULL pointer derefs on
various error paths. This should fix it.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-12 17:21:47 -07:00
..
hvc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
2014-06-11 16:50:01 -07:00
ipwireless
tty: ipwireless: Remove tty->closing abort from ipw_open()
2014-07-10 16:06:49 -07:00
serial
serial: pch_uart: Update error message for dmaengine_prep_slave_sg() API
2014-07-11 17:49:46 -07:00
vt
Merge tag 'drm-intel-fixes-2014-06-17' of git://anongit.freedesktop.org/drm-intel into drm-next
2014-06-19 10:54:35 +10:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
tty: Remove tty_hung_up_p() tests from tty drivers' open()
2014-07-10 16:06:49 -07:00
ehv_bytechan.c
goldfish.c
isicom.c
Kconfig
Makefile
metag_da.c
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
n_hdlc.c
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
tty: Correct INPCK handling
2014-06-19 13:04:52 -07:00
nozomi.c
pty.c
drivers: tty: Fix use-after-free in pty_common_install
2014-07-12 17:21:47 -07:00
rocket.c
rocket.h
rocket_int.h
synclink.c
tty: Remove tty_hung_up_p() tests from tty drivers' open()
2014-07-10 16:06:49 -07:00
synclink_gt.c
tty: Remove tty_hung_up_p() tests from tty drivers' open()
2014-07-10 16:06:49 -07:00
synclinkmp.c
tty: Remove tty_hung_up_p() tests from tty drivers' open()
2014-07-10 16:06:49 -07:00
sysrq.c
sysrq,rcu: suppress RCU stall warnings while sysrq runs
2014-06-06 16:08:17 -07:00
tty_audit.c
tty_buffer.c
tty_io.c
drivers: tty: Merge alloc_tty_struct and initialize_tty_struct
2014-07-11 17:54:28 -07:00
tty_ioctl.c
tty_ldisc.c
tty_ldsem.c
tty_mutex.c
tty_port.c
tty: Remove tty_hung_up_p() tests from tty drivers' open()
2014-07-10 16:06:49 -07:00