linux/drivers/char/rio
Dan Carpenter 459ca8b4ed drivers/char/rio/rioctrl.c: off by one error in rioctrl.c
If DownLoad.ProductCode == MAX_PRODUCT, that would be a problem when we do
RIOBootTable[DownLoad.ProductCode] a couple lines down.

Found by smatch (http://repo.or.cz/w/smatch.git).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-24 07:21:03 -07:00
..
board.h
cirrus.h
cmdblk.h
cmdpkt.h
daemon.h
errors.h
func.h
host.h
link.h
linux_compat.h
Makefile
map.h
param.h
parmmap.h
pci.h
phb.h
pkt.h
port.h
protsts.h
rio_linux.c
rio_linux.h
rio.h
rioboard.h
rioboot.c
riocmd.c
rioctrl.c
riodrvr.h
rioinfo.h
rioinit.c
riointr.c
rioioctl.h
rioparam.c
rioroute.c
riospace.h
riotable.c
riotty.c
route.h
rup.h
unixrup.h