[SCSI] ibmmca: fix buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 8 Dec 2009 22:08:56 +0000 (14:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 18 Jan 2010 16:48:08 +0000 (10:48 -0600)
commit340f052001d46aff9e7e853c492e0d3f5554d42f
tree8085d5176f777a734c415a79e1bf3867f19996cc
parent4a02462af1f4c3498e6a330ffd5c063118309b31
[SCSI] ibmmca: fix buffer overflow

Allows i == IM_MAX_HOSTS, 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/ibmmca.c