summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-02-25 22:26:14 +0300
committerDavid Sterba <dsterba@suse.com>2025-02-26 11:24:01 +0300
commit2df2c6ed89600a02e1c7a581a6a55e53c38ce0f5 (patch)
tree35f43234c438d36c1b893e03e4fec88a7bf5b36b /scripts/extract-fwblobs
parent5a4041f2c47247575a6c2e53ce14f7b0ac946c33 (diff)
downloadlinux-2df2c6ed89600a02e1c7a581a6a55e53c38ce0f5.tar.xz
btrfs: replace deprecated strncpy() with strscpy()
strncpy() is deprecated for NUL-terminated destination buffers. Use strscpy() instead and don't zero-initialize the param array. Link: https://github.com/KSPP/linux/issues/90 Cc: linux-hardening@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions