original_kernel/drivers/scsi/be2iscsi
Mike Christie a41a9ad3bb 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>
2014-09-30 09:29:55 +02:00
..
Kconfig
Makefile
be.h
be_cmds.c
be_cmds.h
be_iscsi.c
be_iscsi.h
be_main.c
be_main.h
be_mgmt.c be2iscsi: check ip buffer before copying 2014-09-30 09:29:55 +02:00
be_mgmt.h