diff options
author | Kees Cook <keescook@chromium.org> | 2024-02-02 12:40:23 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-02-21 05:47:32 +0100 |
commit | 8366d124ec937c3815212c00daf00b687eb27969 (patch) | |
tree | 76906a05338f7551fe4e42d8d8d5aac6925334b6 /arch/mips/bcm63xx/setup.c | |
parent | string: Allow 2-argument strscpy() (diff) | |
download | linux-8366d124ec937c3815212c00daf00b687eb27969.tar.xz linux-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 <andy@kernel.org>
Cc: <linux-hardening@vger.kernel.org>
Reviewed-by: Justin Stitt <justinstitt@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/mips/bcm63xx/setup.c')
0 files changed, 0 insertions, 0 deletions