summaryrefslogtreecommitdiff
path: root/drivers/md/dm-stats.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-10-30 20:13:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-31 13:20:27 -0700
commitaa726923293e27cf9d3ee572d4a674c3818911e4 (patch)
tree18015c3cd52859e4c71934f0c1504dc7cb748999 /drivers/md/dm-stats.h
parent50b9f5b92eeee5b1ec5495d0ba1645f900855a1b (diff)
SCSI: megaraid: missing bounds check in mimd_to_kioc()
commit 3de2260140417759c669d391613d583baf03b0cf upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-stats.h')
0 files changed, 0 insertions, 0 deletions