diff options
| author | 2024-02-02 03:40:23 -0800 | |
|---|---|---|
| committer | 2024-02-20 20:47:32 -0800 | |
| commit | 8366d124ec937c3815212c00daf00b687eb27969 (patch) | |
| tree | 76906a05338f7551fe4e42d8d8d5aac6925334b6 /lib/overflow_kunit.c | |
| parent | string: Allow 2-argument strscpy() (diff) | |
| download | wireguard-linux-8366d124ec937c3815212c00daf00b687eb27969.tar.xz wireguard-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 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions
