aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2023-09-29 19:30:18 +0300
committerAndrew Morton <[email protected]>2023-10-18 14:43:22 -0700
commit860a2e7fa4a186a78be904879f752858c96328ed (patch)
treea24ebecf52765b36fba8e6d60d8fde36144b23a1 /lib/test_fortify/write_overflow-strncpy-src.c
parent867046cc7027703f60a46339ffde91a1970f2901 (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