linux_dsm_epyc7002/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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2011-10-28 16:44:18 -07:00
Makefile [SCSI] qla4xxx: add bsg support 2011-08-27 08:36:22 -06:00
ql4_attr.c [SCSI] qla4xxx: Capture minidump for ISP82XX on firmware failure 2012-05-30 13:00:28 +04:00
ql4_bsg.c [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06: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: Fix qla4xxx_dump_buffer to dump buffer correctly 2011-12-15 10:57:42 +04:00
ql4_dbg.h [SCSI] qla4xxx: Updated the Copyright header 2010-12-21 12:24:43 -06:00
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 [SCSI] qla4xxx: Updated the Copyright header 2010-12-21 12:24:43 -06:00
ql4_iocb.c [SCSI] qla4xxx: Fix sparse warning 2012-02-29 17:01:14 -06:00
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 [SCSI] qla4xxx: Boot from SAN support for open-iscsi 2011-08-27 08:36:27 -06:00
ql4_nvram.h Fix common misspellings 2011-03-31 11:26:23 -03:00
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