linux-stable/net/802
Kees Cook e3617433c3 net: 802: Use memset_startat() to clear struct fields
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memset(), avoid intentionally writing across
neighboring fields.

Use memset_startat() so memset() doesn't get confused about writing
beyond the destination member that is intended to be the starting point
of zeroing through the end of the struct.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-19 11:23:23 +00:00
..
fc.c
fddi.c
garp.c net/802/garp: fix memleak in garp_request_join() 2021-07-01 11:21:57 -07:00
hippi.c net: 802: Use memset_startat() to clear struct fields 2021-11-19 11:23:23 +00:00
Kconfig
Makefile net: 802: remove dead leftover after ipx driver removal 2021-08-13 16:30:35 -07:00
mrp.c net/802/mrp: fix memleak in mrp_request_join() 2021-07-01 11:14:35 -07:00
p8022.c llc/snap: constify dev_addr passing 2021-10-13 09:40:46 -07:00
psnap.c llc/snap: constify dev_addr passing 2021-10-13 09:40:46 -07:00
stp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00