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
..
2006-03-24 07:33:28 -08:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2006-03-24 07:33:29 -08:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2006-03-24 07:33:29 -08:00
2006-03-24 07:33:28 -08:00
2006-05-27 02:26:14 -04:00
2008-07-20 17:12:35 -07:00
2009-07-12 12:22:34 -07:00
2006-05-27 02:26:14 -04:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:36 -07:00
2006-05-15 11:20:57 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:35 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:35 -07:00
2006-03-24 07:33:29 -08:00
2008-07-20 17:12:35 -07:00