[SCSI] u14-34f: fix buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 8 Dec 2009 22:08:59 +0000 (14:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 18 Jan 2010 16:48:07 +0000 (10:48 -0600)
commit4a02462af1f4c3498e6a330ffd5c063118309b31
tree17c1f3ecb569c73dc5c33d185ca5dc4858b14808
parent8fe79162a6807bf120140d64e96da54fc273b88b
[SCSI] u14-34f: fix buffer overflow

This allows i == MAX_INT_PARAM, which is out of range for ints[]

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/u14-34f.c