diff options
author | Dan Carpenter <error27@gmail.com> | 2009-09-24 00:57:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 16:21:03 +0200 |
commit | 459ca8b4ed1889b0a69bbe21888e6af136d495f3 (patch) | |
tree | c83e78fe8da1c42e45ea5fcdbee2b93469f2bf3b /Documentation | |
parent | hpet: hpet driver periodic timer setup bug fixes (diff) | |
download | linux-459ca8b4ed1889b0a69bbe21888e6af136d495f3.tar.xz linux-459ca8b4ed1889b0a69bbe21888e6af136d495f3.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions