1
linux/drivers/scsi/qla4xxx
Manish Rangankar d46bdeb144 [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_ep_connect.
In qla4xxx_ep_connect(), qla_ep->dst_addr and dst_addr are type
struct sockaddr. We are copying sizeof(struct sockaddr_in6) bytes
from dst_addr to qla_ep->dst_addr which is 12 bytes larger. This
will cause memory corruption. So we change qla_ep->dst_addr to
struct sockaddr_storage which is of 128 byte, large enough to
hold sizeof(struct sockaddr_in6).

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-09-14 17:59:19 +01:00
..
Kconfig
Makefile
ql4_attr.c [SCSI] qla4xxx: Capture minidump for ISP82XX on firmware failure 2012-05-30 13:00:28 +04:00
ql4_bsg.c
ql4_bsg.h
ql4_dbg.c
ql4_dbg.h
ql4_def.h [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_ep_connect. 2012-09-14 17:59:19 +01:00
ql4_fw.h [SCSI] qla4xxx: Capture minidump for ISP82XX on firmware failure 2012-05-30 13:00:28 +04:00
ql4_glbl.h [SCSI] qla4xxx: Fix a Sparse warning message 2012-07-20 08:58:34 +01:00
ql4_init.c [SCSI] qla4xxx: Fix Spell check. 2012-07-20 08:58:35 +01:00
ql4_inline.h
ql4_iocb.c
ql4_isr.c [SCSI] iscsi_transport: Added error status code for ping comp event 2012-03-27 08:26:35 +01:00
ql4_mbx.c [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_ep_connect. 2012-09-14 17:59:19 +01:00
ql4_nvram.c
ql4_nvram.h
ql4_nx.c [SCSI] qla4xxx: remove unnecessary read of PCI_CAP_ID_EXP 2012-07-20 08:59:02 +01:00
ql4_nx.h [SCSI] qla4xxx: Capture minidump for ISP82XX on firmware failure 2012-05-30 13:00:28 +04:00
ql4_os.c [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_ep_connect. 2012-09-14 17:59:19 +01:00
ql4_version.h [SCSI] qla4xxx: Update driver version to 5.02.00-k18 2012-07-20 08:58:35 +01:00