linux/drivers/scsi/qla4xxx
Dan Carpenter 3c60cfd739 [SCSI] qla4xxx: overflow in qla4xxx_set_chap_entry()
We should cap the size of memcpy() because it comes from the network
and can't be trusted.

Fixes: 26ffd7b45f ('[SCSI] qla4xxx: Add support to set CHAP entries')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-12-16 10:57:51 -08:00
..
Kconfig [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +04:00
Makefile [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +04:00
ql4_83xx.c [SCSI] qla4xxx: Add pex-dma support for capturing minidump 2013-09-03 07:27:56 -07:00
ql4_83xx.h [SCSI] qla4xxx: Add pex-dma support for capturing minidump 2013-09-03 07:27:56 -07:00
ql4_attr.c [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_bsg.c [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_bsg.h [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06:00
ql4_dbg.c [SCSI] qla4xxx: Added support for ISP8042 2013-09-03 07:27:53 -07:00
ql4_dbg.h [SCSI] qla4xxx: Fix debug level to avoid floods of same message 2013-04-10 11:47:58 -07:00
ql4_def.h [SCSI] qla4xxx: Add support for additional network parameters settings 2013-12-16 10:57:51 -08:00
ql4_fw.h [SCSI] qla4xxx: Add support for additional network parameters settings 2013-12-16 10:57:51 -08:00
ql4_glbl.h [SCSI] qla4xxx: Add support for additional network parameters settings 2013-12-16 10:57:51 -08:00
ql4_init.c [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_inline.h [SCSI] qla4xxx: Add support to set CHAP entries 2013-10-25 09:58:01 +01:00
ql4_iocb.c [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_isr.c [SCSI] qla4xxx: Add support for additional network parameters settings 2013-12-16 10:57:51 -08:00
ql4_mbx.c [SCSI] qla4xxx: Add support for additional network parameters settings 2013-12-16 10:57:51 -08:00
ql4_nvram.c [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_nvram.h [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_nx.c [SCSI] qla4xxx: Return error if minidump data collection fails 2013-09-03 07:27:57 -07:00
ql4_nx.h [SCSI] qla4xxx: Update Copyright header 2013-09-03 07:27:54 -07:00
ql4_os.c [SCSI] qla4xxx: overflow in qla4xxx_set_chap_entry() 2013-12-16 10:57:51 -08:00
ql4_version.h [SCSI] qla4xxx: Update driver version to 5.04.00-k2 2013-12-16 10:57:51 -08:00