+20
−13
Loading
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>