Commit 9e1a6db6 authored by Daniel Yang's avatar Daniel Yang Committed by Steffen Klassert
Browse files

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: default avatarDaniel Yang <danielyangkang@gmail.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 9d287e70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment