linux_old1/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 [SCSI] be2iscsi: select ISCSI_BOOT_SYSFS 2010-08-06 09:41:59 -05:00
Makefile
be.h be2iscsi: Fix the copyright year 2014-09-16 09:09:46 -07:00
be_cmds.c be2iscsi: Fix updating the boot enteries in sysfs 2014-09-16 09:09:46 -07:00
be_cmds.h be2iscsi: Fix updating the boot enteries in sysfs 2014-09-16 09:09:46 -07:00
be_iscsi.c be2iscsi: Fix processing CQE before connection resources are freed 2014-09-16 09:09:47 -07:00
be_iscsi.h be2iscsi: Fix the copyright year 2014-09-16 09:09:46 -07:00
be_main.c be2iscsi : Fix kernel panic during reboot/shutdown 2014-09-30 09:29:55 +02:00
be_main.h be2iscsi : Bump the driver version 2014-09-30 09:29:55 +02:00
be_mgmt.c be2iscsi: check ip buffer before copying 2014-09-30 09:29:55 +02:00
be_mgmt.h be2iscsi: Fix the copyright year 2014-09-16 09:09:46 -07:00