Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: Replace deprecated strncpy() with strscpy_pad()
strncpy() is deprecated for NUL-terminated destination buffers. Use strscpy_pad() instead and don't zero-initialize the param array. Compile-tested only. Link: KSPP#90 Cc: linux-hardening@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
- Loading branch information