linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qed
robert.foss@collabora.com 8aad6f14c0 qed: Fix copy of uninitialized memory
In qed_ll2_start_ooo() the ll2_info variable is uninitialized and then
passed to qed_ll2_acquire_connection() where it is copied into a new
memory space.

This shouldn't cause any issue as long as non of the copied memory is
every read.
But the potential for a bug being introduced by reading this memory
is real.

Detected by CoverityScan, CID#1399632 ("Uninitialized scalar variable")

Signed-off-by: Robert Foss <robert.foss@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-09 13:18:09 -08:00
..
Makefile qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_cxt.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_cxt.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_dcbx.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_dcbx.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_debug.c qed: Additional work toward cleaning C=1 2016-10-14 11:07:22 -04:00
qed_debug.h qed: Add support for debug data collection 2016-09-07 17:46:59 -07:00
qed_dev_api.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_dev.c qed: Don't use attention PTT for configuring BW 2017-02-27 09:22:09 -05:00
qed_fcoe.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_fcoe.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_hsi.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_hw.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_hw.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_init_fw_funcs.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_init_ops.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_init_ops.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_int.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_int.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_iscsi.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_iscsi.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_l2.c qed: Add infrastructure for PTP support 2017-02-15 12:42:52 -05:00
qed_l2.h qed: Add infrastructure for PTP support 2017-02-15 12:42:52 -05:00
qed_ll2.c qed: Fix copy of uninitialized memory 2017-03-09 13:18:09 -08:00
qed_ll2.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_main.c qed*: Fix link indication race 2017-02-20 17:11:54 -05:00
qed_mcp.c qed: Don't use attention PTT for configuring BW 2017-02-27 09:22:09 -05:00
qed_mcp.h qed*: Fix link indication race 2017-02-20 17:11:54 -05:00
qed_ooo.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_ooo.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_ptp.c qed: Add infrastructure for PTP support 2017-02-15 12:42:52 -05:00
qed_ptp.h qed: Add infrastructure for PTP support 2017-02-15 12:42:52 -05:00
qed_reg_addr.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_roce.c qed: Don't free a QP more than once 2017-02-20 17:11:54 -05:00
qed_roce.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_selftest.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_selftest.h qed: Add nvram selftest 2016-10-31 15:52:35 -04:00
qed_sp_commands.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_sp.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_spq.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_sriov.c qed: Fix race with multiple VFs 2017-02-27 09:22:09 -05:00
qed_sriov.h qed: Fix race with multiple VFs 2017-02-27 09:22:09 -05:00
qed_vf.c qed*: Fix link indication race 2017-02-20 17:11:54 -05:00
qed_vf.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed.h qed: Don't use attention PTT for configuring BW 2017-02-27 09:22:09 -05:00