diff options
| author | Kees Cook <[email protected]> | 2024-02-02 11:40:23 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2024-02-21 04:47:32 +0000 |
| commit | 8366d124ec937c3815212c00daf00b687eb27969 (patch) | |
| tree | 76906a05338f7551fe4e42d8d8d5aac6925334b6 /lib/overflow_kunit.c | |
| parent | string: Allow 2-argument strscpy() (diff) | |
| download | kernel-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
