]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] eata: fix buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 8 Dec 2009 22:08:57 +0000 (14:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 18 Jan 2010 16:48:07 +0000 (10:48 -0600)
commit8fe79162a6807bf120140d64e96da54fc273b88b
tree38f4b359db19dbda5caa4baf8c40eb1c1b03b303
parent9b7dac086bec7c71722d6e79464609e17f0996e7
[SCSI] eata: fix buffer overflow

Allows i == MAX_INT_PARAM, 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/eata.c