[SCSI] gdth: fix buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 11 Mar 2010 22:09:35 +0000 (14:09 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:31 +0000 (09:23 -0500)
commit6ce00cae684e7c6310e14634320184ca3c011750
treeabb0e1d37e46a6bbe3a52f52cbc257083fe875b2
parente05a9e7b18dfcce6911d0b901d7f04387cc1d93c
[SCSI] gdth: fix buffer overflow

This allows i == MAXHA, which is out of range

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/gdth.c