diff options
| author | Xu Panda <xu.panda@zte.com.cn> | 2022-12-26 19:05:47 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-17 19:31:08 +0100 |
| commit | 78dde77b227f66ad95c15f001b2dc3d7e2aa0635 (patch) | |
| tree | 4ab203098e8793c6b0f3f0cb9808e830da86d4b5 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 799468fb50e799552ad18e3774c80a56975157b7 (diff) | |
| download | linux-78dde77b227f66ad95c15f001b2dc3d7e2aa0635.tar.gz linux-78dde77b227f66ad95c15f001b2dc3d7e2aa0635.zip | |
staging: r8188eu: 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: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/202212261905476729002@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
