diff options
| author | 2022-12-23 10:40:56 +0800 | |
|---|---|---|
| committer | 2023-01-09 09:51:56 +0100 | |
| commit | f2193bb2ee6e21d9c2da10ea3ce63b94aea69341 (patch) | |
| tree | 8c4f8bad17bfae6f6741862282242635ca0a7600 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | Linux 6.2-rc3 (diff) | |
parisc: pdc_stable: 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>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
