From: Dan Carpenter Date: Wed, 30 Oct 2013 17:13:51 +0000 (+0300) Subject: [SCSI] megaraid: missing bounds check in mimd_to_kioc() X-Git-Tag: v3.15-rc1~136^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3de2260140417759c669d391613d583baf03b0cf;p=pandora-kernel.git [SCSI] megaraid: missing bounds check in mimd_to_kioc() pthru32->dataxferlen comes from the user so we need to check that it's not too large so we don't overflow the buffer. Reported-by: Nico Golde Reported-by: Fabian Yamaguchi Signed-off-by: Dan Carpenter Acked-by: Sumit Saxena Signed-off-by: James Bottomley --- Reading git-diff-tree failed