linux_dsm_epyc7002/drivers/net/ethernet/sfc
Takashi Iwai 5e892880e1 net: sfc: Use scnprintf() for avoiding potential buffer overflow
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

Cc: "David S . Miller" <davem@davemloft.net>
Cc: Edward Cree <ecree@solarflare.com>
Cc: Martin Habets <mhabets@solarflare.com>
Cc: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-15 17:06:22 -07:00
..
falcon
bitfield.h
ef10_regs.h
ef10_sriov.c
ef10_sriov.h
ef10.c
efx_channels.c
efx_channels.h
efx_common.c
efx_common.h
efx.c
efx.h
enum.h
ethtool_common.c
ethtool_common.h
ethtool.c
farch_regs.h
farch.c
filter.h
io.h
Kconfig
Makefile
mcdi_filters.c
mcdi_filters.h
mcdi_functions.c
mcdi_functions.h
mcdi_mon.c
mcdi_pcol.h
mcdi_port_common.c
mcdi_port_common.h
mcdi_port.c
mcdi.c net: sfc: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
mcdi.h
mtd.c
net_driver.h
nic.c
nic.h
ptp.c
rx_common.c
rx_common.h
rx.c
selftest.c
selftest.h
siena_sriov.c
siena_sriov.h
siena.c
sriov.c
sriov.h
tx_common.c
tx_common.h
tx_tso.c
tx.c
tx.h
vfdi.h
workarounds.h