summaryrefslogtreecommitdiff
path: root/drivers/scsi/device_handler/scsi_dh.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2014-09-29 22:55:41 +0400
committerChristoph Hellwig <hch@lst.de>2014-09-30 11:29:55 +0400
commita41a9ad3bbf61fae0b6bfb232153da60d14fdbd9 (patch)
tree177e4cce56a06f0e4892dc1b702a3d2f630d6a6e /drivers/scsi/device_handler/scsi_dh.c
parent4bfb8ebf4c21f372a8677f9aa99963985e9e6539 (diff)
downloadlinux-a41a9ad3bbf61fae0b6bfb232153da60d14fdbd9.tar.xz
be2iscsi: check ip buffer before copying
Dan Carpenter found a issue where be2iscsi would copy the ip from userspace to the driver buffer before checking the len of the data being copied: http://marc.info/?l=linux-scsi&m=140982651504251&w=2 This patch just has us only copy what we the driver buffer can support. Cc: <stable@vger.kernel.org> Tested-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/device_handler/scsi_dh.c')
0 files changed, 0 insertions, 0 deletions