summaryrefslogtreecommitdiffstats
path: root/fs/hpfs
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-12-03 07:22:58 +0100
committerJens Axboe <axboe@kernel.dk>2023-08-23 02:07:50 +0200
commit146afeb235ccec10c17ad8ea26327c0c79dbd968 (patch)
tree737fad9a7d7fecfeb94966fca627908c336e4444 /fs/hpfs
parentblock: sed-opal: keyring support for SED keys (diff)
downloadlinux-146afeb235ccec10c17ad8ea26327c0c79dbd968.tar.xz
linux-146afeb235ccec10c17ad8ea26327c0c79dbd968.zip
block: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Signed-off-by: Xu Panda <xu.panda@zte.com.cn> Signed-off-by: Yang Yang <yang.yang29@zte.com> Reviewed-by: Justin Stitt <justinstitt@google.com> Link: https://lore.kernel.org/r/202212031422587503771@zte.com.cn Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions