Files
linux/drivers
Mike Christie 39d6457473 be2iscsi: check ip buffer before copying
commit a41a9ad3bb 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>
2014-10-30 09:35:10 -07:00
..
2013-12-08 07:29:25 -08:00
2014-03-06 21:30:14 -08:00
2014-04-14 06:42:18 -07:00
2014-10-09 12:18:42 -07:00
2014-02-22 12:41:27 -08:00
2014-02-20 11:06:11 -08:00
2014-04-03 12:01:05 -07:00