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
daisy.c
ieee1284_ops.c
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_cs.c pcmcia: IRQ_TYPE_EXCLUSIVE is long obsoleted 2008-10-17 23:07:10 +02:00
parport_gsc.c
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
probe.c parport: remove CVS keywords 2008-10-16 11:21:49 -07:00
procfs.c
share.c parport: remove CVS keywords 2008-10-16 11:21:49 -07:00
TODO-parport