diff options
author | Kees Cook <keescook@chromium.org> | 2021-11-18 12:31:13 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-30 22:49:29 +0100 |
commit | 4be1dbb75c3de6af1888fa79778388fd4e529543 (patch) | |
tree | 279d9e38b265dfa3efa28bb75d4bcb297d9f432d /drivers/hwmon/pwm-fan.c | |
parent | fc5e0352ccb58508274de289c66832c7a0b68161 (diff) | |
download | linux-4be1dbb75c3de6af1888fa79778388fd4e529543.tar.gz linux-4be1dbb75c3de6af1888fa79778388fd4e529543.tar.bz2 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 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions