android_kernel_xiaomi_sm8350/drivers/parport
Takashi Iwai 36be47d6d8 parport_serial: fix array overflow
The netmos_9xx5_combo type assumes that PCI SSID provides always the
correct value for the number of parallel and serial ports, but there are
indeed broken devices with wrong numbers, which may result in Oops.

This patch simply adds the check of the array range.

Reference: Novell bnc#447067
	https://bugzilla.novell.com/show_bug.cgi?id=447067

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-12-01 19:55:24 -08:00
..
BUGS-parport
ChangeLog Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
daisy.c
ieee1284_ops.c parport: fix ieee1284_epp_read_addr 2008-02-08 09:22:36 -08:00
ieee1284.c parport: remove CVS keywords 2008-10-16 11:21:49 -07:00
Kconfig Parport driver: disable pc-style parport on Blackfin systems 2008-11-18 08:10:08 -08:00
Makefile
multiface.h
parport_amiga.c
parport_atari.c
parport_ax88796.c parport: fix platform driver hotplug/coldplug 2008-07-25 10:53:28 -07:00
parport_cs.c pcmcia: IRQ_TYPE_EXCLUSIVE is long obsoleted 2008-10-17 23:07:10 +02:00
parport_gsc.c drivers: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:53 -07:00
parport_gsc.h
parport_ip32.c
parport_mfc3.c
parport_pc.c 8250: Oxford Semiconductor Devices 2008-10-23 09:31:09 -07:00
parport_serial.c parport_serial: fix array overflow 2008-12-01 19:55:24 -08:00
parport_sunbpp.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
probe.c parport: remove CVS keywords 2008-10-16 11:21:49 -07:00
procfs.c parport/share.c: proper externs 2008-07-26 12:00:03 -07:00
share.c parport: remove CVS keywords 2008-10-16 11:21:49 -07:00
TODO-parport