aboutsummaryrefslogtreecommitdiffstats
path: root/lib/overflow_kunit.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-02-02 11:40:23 +0000
committerKees Cook <[email protected]>2024-02-21 04:47:32 +0000
commit8366d124ec937c3815212c00daf00b687eb27969 (patch)
tree76906a05338f7551fe4e42d8d8d5aac6925334b6 /lib/overflow_kunit.c
parentstring: Allow 2-argument strscpy() (diff)
downloadkernel-8366d124ec937c3815212c00daf00b687eb27969.tar.gz
kernel-8366d124ec937c3815212c00daf00b687eb27969.zip
string: Allow 2-argument strscpy_pad()
Similar to strscpy(), update strscpy_pad()'s 3rd argument to be optional when the destination is a compile-time known size array. Cc: Andy Shevchenko <[email protected]> Cc: <[email protected]> Reviewed-by: Justin Stitt <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions