diff options
author | Alexey Dobriyan <[email protected]> | 2023-09-29 19:30:18 +0300 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-10-18 14:43:22 -0700 |
commit | 860a2e7fa4a186a78be904879f752858c96328ed (patch) | |
tree | a24ebecf52765b36fba8e6d60d8fde36144b23a1 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 867046cc7027703f60a46339ffde91a1970f2901 (diff) |
proc: use initializer for clearing some buffers
Save LOC by using dark magic of initialisation instead of memset().
Those buffer aren't passed to userspace directly so padding is not
an issue.
Link: https://lkml.kernel.org/r/3821d3a2-6e10-4629-b0d5-9519d828ab72@p183
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions