diff options
author | Xu Panda <[email protected]> | 2022-12-28 09:44:11 +0800 |
---|---|---|
committer | Helge Deller <[email protected]> | 2022-12-28 09:00:17 +0100 |
commit | 6b90032c73405cd4da29ab914df11fd1be960b99 (patch) | |
tree | 38d960c0275cf9734f072c400b81a41c5371ee30 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 8d8cf163c8d8c93bccf0c70a133309693af9bf61 (diff) |
fbdev: atyfb: 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 <[email protected]>
Signed-off-by: Yang Yang <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions