diff options
| author | Thorsten Blum <[email protected]> | 2025-03-16 21:15:04 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2025-03-21 09:39:06 +0000 |
| commit | fdd305803bc1eb59c300503fb37911330692ef69 (patch) | |
| tree | ac52df0afcf12d60c7b1326c7d81c78fb39ae146 /net/lapb/lapb_iface.c | |
| parent | crypto: api - Call crypto_alg_put in crypto_unregister_alg (diff) | |
| download | kernel-fdd305803bc1eb59c300503fb37911330692ef69.tar.gz kernel-fdd305803bc1eb59c300503fb37911330692ef69.zip | |
crypto: essiv - Replace memcpy() + NUL-termination with strscpy()
Use strscpy() to copy the NUL-terminated string 'p' to the destination
buffer instead of using memcpy() followed by a manual NUL-termination.
No functional changes intended.
Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
