diff options
author | XueBing Chen <[email protected]> | 2022-05-25 16:51:01 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2022-05-25 15:34:38 +0200 |
commit | 8a33d96bd178d5f49cc5c1898e4cda08e221d2db (patch) | |
tree | f804780a2479aa71d4c7802ce7ff1d6d485523bb /net/lapb/lapb_in.c | |
parent | 6f3f04c19074972ea12edeed23b07a32894e9e03 (diff) |
x86/setup: Use strscpy() to replace deprecated strlcpy()
strlcpy() is marked deprecated and should not be used, because
it doesn't limit the source length.
The preferred interface for when strlcpy()'s return value is not
checked (truncation) is strscpy().
[ mingo: Tweaked the changelog ]
Signed-off-by: XueBing Chen <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions