diff options
| author | 2022-09-19 02:49:19 +0000 | |
|---|---|---|
| committer | 2023-02-03 13:58:41 +0100 | |
| commit | 301cfbc1249759415ff864bdf46e15c7e103279b (patch) | |
| tree | 25e866582a9bb6c0a4982511a1caaad88249464f /include/linux/bcma/ssh:/git@git.zx2c4.com/git: | |
| parent | power: supply: test-power: use strscpy() instead of strncpy() (diff) | |
power: supply: max1721x: Use strscpy() is more robust and safer
The implementation of strscpy() is more robust and safer.
That's now the recommended way to copy NUL terminated strings.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
