diff options
author | Kees Cook <[email protected]> | 2021-12-13 14:33:25 -0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2022-01-06 09:48:33 -0500 |
commit | f069c7ab6cfb07edf9e3dc2071928225587794f1 (patch) | |
tree | d1961e10c19fc07bb0ff7129c5e065a65eac4a0f /net/lapb/lapb_timer.c | |
parent | cba23ac158db7f3cd48a923d6861bee2eb7a2978 (diff) |
dm integrity: Use struct_group() to zero struct journal_sector
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memset(), avoid intentionally writing across
neighboring fields.
Add struct_group() to mark region of struct journal_sector that should be
initialized to zero.
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions