summaryrefslogtreecommitdiffstats
path: root/kernel/module/decompress.c
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-11-30 09:01:41 +0100
committerPetr Mladek <pmladek@suse.com>2022-12-01 11:57:51 +0100
commit7365df19e8ff7a031e1557616fc0b3aa6d794d7e (patch)
tree46929269a8b6b2e1be2336e9bc2a57cab587a782 /kernel/module/decompress.c
parentprintk: fix a typo of comment (diff)
downloadlinux-7365df19e8ff7a031e1557616fc0b3aa6d794d7e.tar.xz
linux-7365df19e8ff7a031e1557616fc0b3aa6d794d7e.zip
printk: use strscpy() to instead of strlcpy()
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: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/202211301601416229001@zte.com.cn
Diffstat (limited to 'kernel/module/decompress.c')
0 files changed, 0 insertions, 0 deletions