dlm: config: using strlcpy instead of strncpy
for NUL terminated string, need alway set '\0' in the end. Signed-off-by: NZhao Hongjiang <zhaohongjiang@huawei.com> Signed-off-by: NDavid Teigland <teigland@redhat.com>
Showing
想要评论请 注册 或 登录
for NUL terminated string, need alway set '\0' in the end. Signed-off-by: NZhao Hongjiang <zhaohongjiang@huawei.com> Signed-off-by: NDavid Teigland <teigland@redhat.com>