linux_dsm_epyc7002/drivers/scsi/qla4xxx
Manish Rangankar 3dd4849c25 [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_get_ep_fwdb.
In qla4xxx_get_ep_fwdb(), dst_addr is of type struct sockaddr.
We are copying sizeof(struct sockaddr_in6) bytes to dst_addr
which is 12 bytes larger. This will cause memory corruption.
So we change dst_addr to struct sockaddr_storage which is
of 128 byte, large enough to hold sizeof(struct sockaddr_in6).

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-01-29 13:55:07 +11: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: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_83xx.h [SCSI] qla4xxx: Disable generating pause frames for ISP83XX 2012-09-24 12:49:00 +04:00
ql4_attr.c [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +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: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_dbg.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_def.h [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_fw.h [SCSI] qla4xxx: IDC implementation for Loopback 2012-09-24 12:41:53 +04:00
ql4_glbl.h [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_init.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_inline.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_iocb.c [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_isr.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_mbx.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_nvram.c [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_nvram.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_nx.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_nx.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_os.c [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_get_ep_fwdb. 2013-01-29 13:55:07 +11:00
ql4_version.h [SCSI] qla4xxx: Update driver version to 5.03.00-k1 2012-09-24 12:49:47 +04:00