drivers/isdn/i4l/isdn_tty.c: fix check for array overindexing
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 10 Jun 2009 19:52:44 +0000 (12:52 -0700)
committerKarsten Keil <keil@b1-systems.de>
Thu, 11 Jun 2009 17:05:10 +0000 (19:05 +0200)
commit395df11f5fa7fe852be28ccec8aaa15634386ad1
tree6d6fcd36173e73d0ca8d6aebc7a7942de2959dcb
parentcdae28e1a28f26c765c5882a48b9fd4a5b9ce91c
drivers/isdn/i4l/isdn_tty.c: fix check for array overindexing

The check for overindexing of dev->mdm.info[] has an off-by-one.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Karsten Keil <keil@b1-systems.de>
drivers/isdn/i4l/isdn_tty.c