Commit 7f626988 authored by Saravana Kannan's avatar Saravana Kannan Committed by Matt Wagantall
Browse files

msm: clock-debug: Replace use of strncpy() with safer strlcpy()



strlcpy() is safer than strncpy() because it truncates to leave
room for a NUL character at the end of the destination string.

Change-Id: Iabdd727976f220a6afddac068c8d53ede5f4fa94
Signed-off-by: default avatarSaravana Kannan <skannan@codeaurora.org>
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 6f6fdc65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment