diff options
author | Daniel Yang <danielyangkang@gmail.com> | 2024-11-13 12:20:58 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2024-11-14 13:38:37 +0300 |
commit | 9e1a6db68e3ccc5c20fd2d6243285d1cc7215fe4 (patch) | |
tree | e9ba27d7659b37d90ed3a1019a4f8e20850f9342 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9d287e70c51f1c141ac588add261ed2efdd6fc6b (diff) | |
download | linux-9e1a6db68e3ccc5c20fd2d6243285d1cc7215fe4.tar.xz |
xfrm: replace deprecated strncpy with strscpy_pad
The function strncpy is deprecated since it does not guarantee the
destination buffer is NULL terminated. Recommended replacement is
strscpy. The padded version was used to remain consistent with the other
strscpy_pad usage in the modified function.
Signed-off-by: Daniel Yang <danielyangkang@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions