diff options
author | Kees Cook <[email protected]> | 2021-11-18 12:37:12 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-12-13 16:31:24 -0700 |
commit | 52a0cab35c568f896067641d8e07f798341954f5 (patch) | |
tree | 9b06ef874eaf498509e2da844c682385743f54b0 /scripts/gdb/linux/mm.py | |
parent | 322c4293ecc58110227b49d7e47ae37b9b03566f (diff) |
drbd: Use struct_group() to zero algs
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memset(), avoid intentionally writing across
neighboring fields.
Add a struct_group() for the algs so that memset() can correctly reason
about the size.
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions