commit | 3de2260140417759c669d391613d583baf03b0cf | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Oct 30 20:13:51 2013 +0300 |
committer | James Bottomley <JBottomley@Parallels.com> | Sat Mar 15 10:19:00 2014 -0700 |
tree | cc0fa503ebeb98e5ceb9175e4947c8a60f410066 | |
parent | e5dbbe273f29e3de7f954abeba95ce986fafc532 [diff] |
[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 <nico@ngolde.de> Reported-by: Fabian Yamaguchi <fabs@goesec.de> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Sumit Saxena <sumit.saxena@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>