summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2014-09-29 13:55:41 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-30 09:40:11 -0700
commit7be686ba4ad99d37ba642d5fbd776450ba73f94e (patch)
tree71bb59239996d10784140e572570b2875d5daacf /include/uapi
parenta1773cfd11c520bffe18bd23233eacacac2f5be9 (diff)
be2iscsi: check ip buffer before copying
commit a41a9ad3bbf61fae0b6bfb232153da60d14fdbd9 upstream. 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. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions