android_kernel_lge_bullhead/drivers/isdn/gigaset
Johan Hovold 47bad9193b isdn/gigaset: fix NULL-deref at probe
commit 68c32f9c2a36d410aa242e661506e5b2c2764179 upstream.

Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

Fixes: cf7776dc05 ("[PATCH] isdn4linux: Siemens Gigaset drivers - direct USB connection")
Cc: Hansjoerg Lipp <hjlipp@web.de>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-06-08 00:47:04 +02:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile gigaset: add Kernel CAPI interface (v3) 2009-10-06 22:43:53 -07:00
asyncdata.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
bas-gigaset.c isdn/gigaset: fix NULL-deref at probe 2017-06-08 00:47:04 +02:00
capi.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
common.c isdn/gigaset: beautify common.c 2013-01-21 17:36:25 -05:00
dummyll.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
ev-layer.c isdn/gigaset: beautify ev-layer.c 2013-01-21 17:36:26 -05:00
gigaset.h isdn/gigaset: beautify ev-layer.c 2013-01-21 17:36:26 -05:00
i4l.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
interface.c TTY: add tty_port_tty_wakeup helper 2013-03-18 16:19:45 -07:00
isocdata.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
proc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ser-gigaset.c ser_gigaset: return -ENOMEM on error instead of success 2017-06-08 00:46:53 +02:00
usb-gigaset.c USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00