diff options
author | 2021-11-18 12:31:13 -0800 | |
---|---|---|
committer | 2021-11-30 22:49:29 +0100 | |
commit | 4be1dbb75c3de6af1888fa79778388fd4e529543 (patch) | |
tree | 279d9e38b265dfa3efa28bb75d4bcb297d9f432d /net/packet/af_packet.c | |
parent | ipvs: remove unused variable for ip_vs_new_dest (diff) | |
download | wireguard-linux-4be1dbb75c3de6af1888fa79778388fd4e529543.tar.xz wireguard-linux-4be1dbb75c3de6af1888fa79778388fd4e529543.zip |
netfilter: conntrack: Use memset_startat() to zero struct nf_conn
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() to avoid confusing memset() about writing beyond
the target struct member.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions