mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-16 05:47:12 +07:00
c7d852e301
The strscpy() was a recent fix (net: qed: use correct strncpy() size) to prevent passing the length of the source buffer to strncpy() and guarantee null termination. It misses the goal of overwriting only the first 3 characters in "???_BIG_RAM" and "???_RAM" while keeping the rest of the string. Use strncpy() with the length of 3, without null termination. Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com> Signed-off-by: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
qed_cxt.c | ||
qed_cxt.h | ||
qed_dcbx.c | ||
qed_dcbx.h | ||
qed_debug.c | ||
qed_debug.h | ||
qed_dev_api.h | ||
qed_dev.c | ||
qed_fcoe.c | ||
qed_fcoe.h | ||
qed_hsi.h | ||
qed_hw.c | ||
qed_hw.h | ||
qed_init_fw_funcs.c | ||
qed_init_ops.c | ||
qed_init_ops.h | ||
qed_int.c | ||
qed_int.h | ||
qed_iscsi.c | ||
qed_iscsi.h | ||
qed_iwarp.c | ||
qed_iwarp.h | ||
qed_l2.c | ||
qed_l2.h | ||
qed_ll2.c | ||
qed_ll2.h | ||
qed_main.c | ||
qed_mcp.c | ||
qed_mcp.h | ||
qed_ooo.c | ||
qed_ooo.h | ||
qed_ptp.c | ||
qed_rdma.c | ||
qed_rdma.h | ||
qed_reg_addr.h | ||
qed_roce.c | ||
qed_roce.h | ||
qed_selftest.c | ||
qed_selftest.h | ||
qed_sp_commands.c | ||
qed_sp.h | ||
qed_spq.c | ||
qed_sriov.c | ||
qed_sriov.h | ||
qed_vf.c | ||
qed_vf.h | ||
qed.h |