linux-hardened/drivers/rapidio
Alexandre Bounine 166c050bda RapidIO: fix potential null deref in rio_setup_device()
The "goto cleanup" path can deference "rswitch" when it is NULL.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Dan Carpenter <error27@gmail.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Chul Kim <chul.kim@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-02 16:07:01 -07:00
..
devices RapidIO: add mport driver for Tsi721 bridge 2011-11-02 16:07:01 -07:00
switches rapidio: fix default routing initialization 2011-05-18 02:55:22 -07:00
Kconfig RapidIO: add mport driver for Tsi721 bridge 2011-11-02 16:07:01 -07:00
Makefile RapidIO: add mport driver for Tsi721 bridge 2011-11-02 16:07:01 -07:00
rio-access.c [RAPIDIO] Add RapidIO multi mport support 2008-04-29 19:40:28 +10:00
rio-driver.c rapidio: fix RapidIO sysfs hierarchy 2010-10-27 18:03:15 -07:00
rio-scan.c RapidIO: fix potential null deref in rio_setup_device() 2011-11-02 16:07:01 -07:00
rio-sysfs.c rapidio: modify configuration to support PCI-SRIO controller 2011-03-23 19:46:42 -07:00
rio.c RapidIO/mpc85xx: fix possible mport registration problems 2011-04-14 16:06:56 -07:00
rio.h rapidio: add handling of redundant routes 2010-10-27 18:03:16 -07:00