kernel-fxtec-pro1x/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.h
rio_linux.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
rio_linux.h
rioboard.h
rioboot.c
riocmd.c
rioctrl.c drivers/char/rio/rioctrl.c: off by one error in rioctrl.c 2009-09-24 07:21:03 -07:00
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