android_kernel_samsung_msm8976/net/irda/ircomm
Sasha Levin 6f5601251d net, TTY: initialize tty->driver_data before usage
Commit 9c650ffc ("TTY: ircomm_tty, add tty install") split _open() to
_install() and _open(). It also moved the initialization of driver_data
out of open(), but never added it to install() - causing a NULL ptr
deref whenever the driver was used.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-05 09:26:01 -07:00
..
ircomm_core.c irda: Kill set but unused variable 'clen' in ircomm_connect_indication() 2011-05-19 18:52:59 -04:00
ircomm_event.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ircomm_lmp.c irda: Fix error propagation in ircomm_lmp_connect_response() 2011-05-19 18:58:39 -04:00
ircomm_param.c TTY: ircomm, use tty from tty_port 2012-06-12 15:50:24 -07:00
ircomm_ttp.c
ircomm_tty.c net, TTY: initialize tty->driver_data before usage 2012-10-05 09:26:01 -07:00
ircomm_tty_attach.c serial: add a new helper function 2012-09-05 13:28:35 -07:00
ircomm_tty_ioctl.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
Kconfig
Makefile Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions 2010-11-22 08:16:12 -08:00