linux/drivers/net/ethernet/realtek
Kees Cook da5ac772cf r8169: Avoid memcpy() over-reading of ETH_SS_STATS
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memcpy(), memmove(), and memset(), avoid
intentionally reading across neighboring array fields.

The memcpy() is copying the entire structure, not just the first array.
Adjust the source argument so the compiler can do appropriate bounds
checking.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-16 13:02:07 -07:00
..
8139cp.c net: realtek: Remove set but not used variable 2020-09-23 13:20:29 -07:00
8139too.c 8139too: use true,false for bool variables 2020-09-19 14:23:14 -07:00
atp.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
atp.h
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile r8169: factor out PHY configuration to r8169_phy_config.c 2020-01-10 16:41:35 -08:00
r8169_firmware.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
r8169_firmware.h r8169: factor out firmware handling 2019-06-05 11:41:59 -07:00
r8169_main.c r8169: Avoid memcpy() over-reading of ETH_SS_STATS 2021-06-16 13:02:07 -07:00
r8169_phy_config.c r8169: Add support for another RTL8168FP 2021-02-02 18:02:55 -08:00
r8169.h r8169: Add support for another RTL8168FP 2021-02-02 18:02:55 -08:00