WSL2-Linux-Kernel/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ChangeLog Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
Kconfig Parport driver: disable pc-style parport on Blackfin systems 2008-11-18 08:10:08 -08:00
Makefile [PATCH] AX88796 parallel port driver 2006-06-25 10:01:09 -07:00
TODO-parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
daisy.c [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
ieee1284.c parport: remove CVS keywords 2008-10-16 11:21:49 -07:00
ieee1284_ops.c parport: fix ieee1284_epp_read_addr 2008-02-08 09:22:36 -08:00
multiface.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_amiga.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
parport_atari.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
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 remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
parport_ip32.c [PARPORT] Consolidate code copies into a single generic irq handler 2007-10-23 19:53:15 -04:00
parport_mfc3.c [PARPORT] Kill useful 'irq' arg from parport_{generic_irq,ieee1284_interrupt} 2007-10-23 19:53:15 -04:00
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