aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-11-18 12:22:17 -0800
committerSteven Rostedt (VMware) <[email protected]>2021-11-18 20:54:51 -0500
commitc4c1dbcc09e723295969a62aff401815b7ee15f4 (patch)
tree08f09cc6b7516abc2ba752bebb11b3d1685c55e5 /net/lapb/lapb_timer.c
parentf86b0aaad741c45aba5a84a27277dd56a96808ba (diff)
tracing: Use memset_startat() to zero struct trace_iterator
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions